check code of FileTree again