add a file resource for main index.html