use open_file to get file from search result