from typing import List


def read_file_as_lines(filename: str) -> List[str]:
    """Reads in filename as list of lines.

    Args:
        filename: The path of the filename to read in.

    Returns: A list of strings.
    """
    with open(filename) as infile:
        file_lines = infile.readlines()
    return file_lines