updated web.js and added index.html
Read output from file