def text_content(text_path: str) -> str:
    with open(text_path, encoding="utf-8") as text_file:
        return text_file.read()


class DataError(Exception):
    def __init__(self, path: str, message: str, line_number: Optional[int] = None):