It sounds like the DTL is failing.  Converting X12 is not trivial so make sure the data transform is working.   

Are you looking to verify the file as a whole before splitting in to separate HL7 messages?

Could this be used to also automate Ensemble Production settings and other things like data migration?