rename trie file functions