from typing import List


def parse_txt_file(path: str) -> List[str]:
    """Parses contents of an input text file, separated by spaces.

    Args:
        path: Path to input text file.

    Returns:
        The contents of the text file as a list of strings.
    """

    file = open(path, "r")
    contents = file.read()
    text = contents.split()
    file.close()

    return text