index should be an html file