def get_dictionary(file_name: str) -> list:
    """Return dictionary from file."""
    dictionary = []

    with open(file_name, "r") as file:
        for line in file.readlines():
            if len(line.strip()) > 4:
                dictionary.append(line.strip())
    return dictionary