import pickle


def load_from_file(path_to_file):
    """Loads an anagram trie from an anagram tire pickle file"""
    with open(path_to_file, 'rb') as anagram_tree:
        return pickle.load(anagram_tree)