RBT node replace function
RBT add tree file