improved searching for files