rootdir = sw_rootdir
rootdir = sw_rootdir returns the parent folder of the swfiles folder.
swfiles
spinw