Fixes to HTML file import - we now parse all the lines