Use iterators in DataTreeUtil.pathLocateFrom().