code to remove blank lines when reading from tab-delimited text files