using filetreetraversal to read dictionaries