create index file