I would try and concentrate on seeing what the file contents look like in its entirety. My guess is that theres a problem combination of control characters that should be swapped out with empty text.
You could try using a Read File comp followed by a ByteArray to text comp in order to see how the file contents appear.
If it's XMl you're reading, you might want to try either the XML gneerator or the Read Object from XML comp as well.