Only parse the HTML file when needed