Reassemble directory structure