During the Simple Archive Format import, the file "collections" is read, but not properly used.
An empty collection array "clist" is initialised, which should receive either the collections read from the command line, or the collections read from the "collections" file.
The import using the collections option works, but for the incorrect reason. (mycollections is set, but only if read from command line)
addItem(c, mycollections, sourceDir, dircontents[i], mapOut, template);
addItem(c, clist, sourceDir, dircontents[i], mapOut, template);