Update file search system to reduce errors