Problem 4 rough solution, could be done in MANY prettier ways
Delete swap files and add to .gitignore