def METHOD_NAME(pathname):
    if sys.version_info.major < 3 or (sys.version_info.major == 3 and sys.version_info.minor < 5):
        return globlib.METHOD_NAME(pathname)
    else:
        return globlib.METHOD_NAME(pathname, recursive=True)