Added code for html file parsing