Fixed backing up to a file, and imported more of importing it back