updated the messadge
added index.html
read file
use proper function call