improve file selector with smart search for filenames