Preparing to write the save file.