Updated web.js
Now reading form a file
File from which to read