 import flash.filesystem.FileStream;
 import flash.system.ApplicationDomain;
 import flash.utils.ByteArray;
+import flash.utils.Dictionary;
 
 import modules.IBuilderModule;
 import modules.supportClasses.CustomXMLModule;

        }

        checkIfNoMoreModuleInfosLeft();
    }

    private function loadModule(moduleFile:File):void

        var moduleFiles:Array = getModuleFiles(WellKnownDirectories.getInstance().bundledModules)
            .concat(getModuleFiles(WellKnownDirectories.getInstance().customModules));

        moduleFiles = getUniqueModuleFiles(moduleFiles);

        //TODO: remove XML files from found SWF files
        modulesToLoad = moduleFiles.length;

