fixed swap, undo, and backup files