Updated web.js with file read