- create index file