Fixed to read index.html properly