Added swapfile support
Added swapfile support