Tree-organized document repository