Modified the tree of the cache directory for future use