add some comment to the save_file function