add tree code file