Buffer buf replaced with var htmlfile. See Figure 15 of startup-lecture_slides-lecture7-deployment-dns-custom-domains.pdf