change the file_name of exported data in keep_frames function