def load_dat(filename: str) -> list:
    """
    Loads the contents of the DAT data file into a list with each line of the file
    into an element of the list.
    """
    with open(file = f'{filename}.dat', mode = u'r') as dat_file:
        return dat_file.read().split(u'\n')