Adding support for persisting the trie/reading it from disk