from typing import List


def get_file_as_list(route: str) -> List[str]:
    """
    This methods splits the file by \n and returns is as a list of stings.
    :type route:
    :return: File as list
    """
    with open(route) as f:
        lines = f.read().splitlines()
    return lines