read index.html, write to resposne