Changed the save method, else saving data on files that have been loaded from disk images would not persist