Basic code to parse the HTML files and generate some data files