def METHOD_NAME(path, format, postfix):
    pattern = '*%s.%s' % (postfix, format)
    search_files = os.path.join(path, pattern)
    search_files2 = os.path.join(path, "*", pattern)  # 包含子目录
    search_files3 = os.path.join(path, "*", "*", pattern)  # 包含三级目录
    filenames = glob.glob(search_files)
    filenames2 = glob.glob(search_files2)
    filenames3 = glob.glob(search_files3)
    filenames = filenames + filenames2 + filenames3
    return sorted(filenames)