Building the file group/classes trie