use readFile for index.html