Improved the searching for nodes in FileTree by implementing a recursive search