upload index file