swap files
Some fairly serious magic