- Updated code to accept attachments to output HL7 files