'Locate files recursively in a given path'

@classmethod
def locate(cls, path, match, recursive=True):

    root_path = cls.abspath(path)
    if recursive:
        return_files = []
        for (path, dirs, files) in cls.walk(root_path):
            for filename in fnmatch.filter(files, match):
                return_files.append(cls.join(path, filename))
        return return_files
    else:
        return glob(cls.join(root_path, match))
