a program to find files with given name patterns