create the index file.