I then ran the output through a program that removed repeating spaces and that solved all of the problems.
Can you please help me with the piece of code.How to do this for gz file.