added directory option, do gather swap files in one location