Modify save to file strategy