Is it possible to create groups from a list?

Hello,

I would like to create groups from a list. The list can be a text file, a list copied to the clipboard, CSV or Excel. I want to be able to create the groups under another group. Is this possible to automate?
For example, I have the following list
Company A
Company B
Company C.

I want to create 3 groups under another group, ie "Companies), with the 3 names automatically.

Thanks

Try this script.