need first line before parsing header
split the chunk output into separate string variables