in reply to processing and merging data

I think that what you need is Text-CSV-Simple


Perl is Huffman encoded by design.