add html extension to index file