Updated the function to search the big files.