write index file

first page