added index.html
reading into buffer