from typing import List


def read_hypothesis_file(fname: str) -> List[str]:
    """Reads lines from a text file and returns it as a list of strings."""
    lines = []
    with open(fname) as f:
        for line in f:
            lines.append(line.strip())
    return lines