Updated web.js
add index.html
Implement file buffer