Modified to read from the HTML file