def METHOD_NAME(local):
    root = local
    result = [(local, None, ['file'])]
    for path in ['first', 'second']:
        root = '%s%s/' % (root, path)
        result.append((root, None, ['file']))
    return result