adding links to all elements of file tree