combined decompress and partition/insert newlines