private void save() throws IOException { dictionary.writeDictionaryToFile(new FileOutputStream("tree.out")); }