change web.js to return content of file