switcing between open files using open_file(File) added