code: def locate_files(pattern, root_dir=os.curdir):
      
      for dirpath, dirnames, filenames in os.walk(os.path.abspath(root_dir)):
          for filename in fnmatch.filter(filenames, pattern):
              yield os.path.join(dirpath, filename)
docs: Locate all files matching fiven filename pattern in and below
      supplied root directory.