dict object to filetree