created the index file