Create index file