from typing import List


def read_dat(file_name: str) -> List[str]:
    """Read .dat file containing templates.

    Parameters
    ----------
    file_name : str
        Name of Winedt `.dat` file containing multi-line template snippets.

    Returns
    -------
    lines : List[str]
        List of text lines from Winedt `.dat` file of multi-line template
        snippets.
    """
    with open(file_name, mode='r') as text_file:
        text = text_file.readlines()
    return text