Create swap file, issue #242