def get_contents_lektor_file(filepath):
    """Returns contents of contents Lektor file as string"""
    with open(filepath, "r") as file:
        contents = file.readlines()
    return "".join(contents)