def file_path(uri):
    """return the relative path of the file in the given URI

    for uri = '/.../files/a/b/c', return 'a/b/c'

    raises ValueError (through .index()) if '/files/' is not in the URI
    """
    return uri[7 + uri.index('/files/'):]
