using fs to read content of index.html