added tree creation like the origin server s tree and download all files in good directories