Search a directory for a file class