code: def find(basedir, string):
      
      matches = []
      for root, dirnames, filenames in os.walk(basedir):
          for filename in fnmatch.filter(filenames, string):
              matches.append(os.path.join(root, filename))
      return matches
docs: walk basedir and return all files matching string