def link_fedora_file_md(sid):
    """
    Creates a html link tag to the EASY_FILE_METADATA of a file with the given sid.

    http://easy01.dans.knaw.nl:8080/fedora/objects/easy-file:6364865/datastreams/EASY_FILE_METADATA/content

    :param sid:  a file id
    :return: link to the file metadata
    """
    return '<a href="http://easy01.dans.knaw.nl:8080/fedora/objects/{}/datastreams/EASY_FILE_METADATA/content" target="_blank">{}</a>'\
        .format(sid, sid)