improve file search pattern