(edit_insert_file_cmd): sync with new edit_insert_file()