Publicis Sapient Interview Question

Write a program to search for all files of a given pattern in a given directory