Iterator<String> iter = params.getInputFiles().iterator();
String fileName = "";
try {
Factory factory = Factory.getInstance(SingletonFactory
.getInstance());
Modules all = factory.makeModules();
// Entries all = factory.makeEntries();
while (iter.hasNext()) {
fileName = iter.next();
FileInputStream fis = new FileInputStream(fileName);
try {
all = all.concat(factory.ModulesFromFile(fis));
} catch (IllegalArgumentException ex) {
fis.close();
if (params.getApiName() == null) {
throw new IllegalArgumentException(
"No API name specified");