How to convert a groups into layers with the name


New Member
We have lot of artworks, almost more than two thousand, individually grouped and named for identification, which we want to convert into layers without losing their identification names.

There is already a layer option to convert all groups into layers but the groups names are not getting copied over to the respective layers. We are doing it manually now.

Is there any option in illustrator or a way around so that it can be done quickly?