Updated web.js
Changes for file read