modify index.html to a file not a direct