def METHOD_NAME(self, files, pattern):
    globs = glob.glob(pattern)
    if self.verbose and len(globs) == 0:
        print("%s file not found" % pattern)
    for g in globs:
        if os.path.isdir(g):
            self.add_directory(files, g)
        else:
            files.add(g)