Edited web.js to correctly read file