retrieving text from index.html file