Init index file