from typing import List


def load_words(file: str) -> List[str]:
    """
    Loads words from input file where there is a word in every line.
    :param file: path to file
    :return: List of words
    """
    with open(file) as f:
        words: List[str] = f.readlines()
    return words