init index file