def load_from_file(filename):
    """Load wordlist from file.

    Args:
        filename: Name of file to load wordlist from

    Returns:
        List of words read from file
    """
    with open(filename, 'r') as in_file:
        return in_file.read().splitlines()