loading XML files into IS


I am trying to define hundreds of document types definitions based on XML files. Obviously I do not want to do this manually.
Basically I do have one zip file containing XML files in several folders from an Dutch authority.
Any hints how to do this?
I only can think of a service reading all directories and based on this creating the same folder structure in the IS and create document type definition. As my xml files contain “-” (dashes) the IS will not allow to import them just like this, a renaming is required first.
would that approach be good and if so, did anybody do it already?