Edited web.js to read file