Updated web.js
added reading from filesystem