Create index file.