Updated the message
Added index.html
Added buffer string
added read from index.html
added the correct file handling