Free memory in FileTree