add tree directory