}
IProgressMonitor monitor = new NullProgressMonitor();
for (final RelativePath sourceFile : allInputFiles) {
AbstractBaseLanguage lang = BaseLanguageRegistry.getInstance().getBaseLanguage(FileCommands.getExtension(sourceFile));
if (null == lang)
throw new RuntimeException("Unknown file extension \"" + FileCommands.getExtension(sourceFile) + "\".");
Result res = Driver.run(sourceFile, environment, monitor, lang);