Write a new index file (currently not the same)