Added code to read from index.html and give response