Added swap file creation support