/// <summary>
        ///     Returns the children tree for the given <see cref="sid" />
        /// </summary>
        /// <param name="sid"></param>
        /// <returns></returns>
        internal BinarySearchTree<CFItem> GetChildrenTree(int sid)
        {
            var binarySearchTree = new BinarySearchTree<CFItem>(new CFItemComparer());

            // Load children from their original tree.
            DoLoadChildren(binarySearchTree, _directoryEntries[sid]);

            // Rebuild of (Red)-Black tree of entry children.
            binarySearchTree.VisitTreeInOrder(RefreshSIDs);

            return binarySearchTree;
        }