Final web.js, with buffer and fileReadSync