modified web.js with fs
One more try