public File[] FindFile(Predicate<File> match) { return (from f in AllFiles where match(f) select f) .ToArray(); }