added tree to show directory structure at certain stages