add send file to view index.html