Preserving directory structure optionally