def get_words(file: str):
    """
    (method) get_words
    ------------------
    Returns a list of all words in the provided file.

    ---

    Parameters
    ```
    file : str
        File name or directory of the words
    ```
    """
    return [line.strip() for line in open(file, "r")]