def get_lines_from_file(file_path: str) -> list:
    """Get all the lines from a file as a list of strings.

    :param str file_path: The path to the file.
    :Returns: A list of lines (each a `str`).
    """
    with open(file_path, encoding="utf-8") as temp:
        return temp.readlines()