Batch convert Pz2 to Aniblocks

Hello, I have about 500 facial expressions and poses that I want to convert to aniblock format to use within daz studio with the Animate plugin. But opening each one at a time and saving it as an aniblock is extremely tedious, does anyone know a quicker way to do a bunch at once? thanks!!