Added readFileSync for index.html