add directory tree to the web page