What do you mean?
Method “validatePath()” is used to determine which files should be picked, while search, allowing to exclude some files like “.htaccess”, “thumb.db” etc.