update the file's SAVE logic