use switch_to_app_file_real to handle  change file