parse HTML file