Updated web.js
Added reading from file.