forgot to include fs in the web.js file