def write_tag_file_text(tags, delimiter="\n"):
    """
    Write the text entries for a lit of tags.

    Parameters
    ----------
    tags: list

    delimiter: str

    Returns
    -------
    text: str
    """

    text = ""
    for t in tags:
        text += f"{t}{delimiter}"

    return text