How do I open a text file and before I begin to interogate it remove all empty lines?