Walk down dependencies of JS, CSS, HTML, etc. and create a tree.