Improve performance of the transfer to staging which does parsing of an incoming batch and writing of the protocol into a file in the temporary directory. The same occurs on extraction of batch, which is written to staging and then parsed again as it is read to transfer. The parsing does the full logic to tokenize, read into java objects, and then write out the protocol. Improve the performance by doing minimal parsing to write to staging on incoming and read from staging on outgoing.