Keep directory structure when recursiveInput is true
Merge pull request #5 from sebprunier/recursive

Keep directory structure when recursiveInput is true