Changes to save file locally