def METHOD_NAME(cls, name):
    """Return (folders, files) for the given folder in the root dir."""
    folders = set()
    files = set()
    for path in cls.LAYOUT:
        if not path.startswith(name + '/'):
            continue
        parts = path.split('/')
        if len(parts) == 2:
            files.add(parts[1])
        else:
            folders.add(parts[1])
    folders = list(folders)
    folders.sort()
    files = list(files)
    files.sort()
    return (folders, files)