from typing import List


def read_lines_from_file(path: str, strip: bool = False) -> List[str]:
    """Read file into stripped lines."""
    with open(path, "r") as f:
        lines = f.readlines()

    if not strip:
        return lines

    return list([line.strip() for line in lines])