Changed trie from a module to a file