first step for parsing the html files