Convert lines in a text file to an HTML table