Export search_files function