Changed web.js to use readFileSync