for (int i = 0; i < subFolders.length; i++) {
String[] folders = new String[parentLoopFolder.length + 1];
System.arraycopy(parentLoopFolder, 0, folders, 0, parentLoopFolder.length);
folders[parentLoopFolder.length] = subFolders[i];
for (Iterator iter = folder.getCategories().iterator(); iter.hasNext();) {
XmlCategory category = (XmlCategory) iter.next();
enqueueDownload(org, mod, category, folders);
}
for (Iterator iter = folder.getLoopFolders().iterator(); iter.hasNext();) {
XmlLoopFolder loopFolder = (XmlLoopFolder) iter.next();
enqueueDownload(org, mod, folders, loopFolder);