Improved folding and swapfile location