added checking html file