index file design