adding optional ability to preserve the original wiki directory structure