Importing Basefile Parameters

Is there any way to import basefile parameters? I have the default config file for about 30 Grandstream phones and going through 1000 lines to set all the parameters is not my idea of a fun day. Sadly, it’s easier to access each phone through the web UI and upload the config that way.