throw new InvalidParameterException(parent.getAbsolutePath());
boolean hadError = false;
for(File epubDir : parent.listFiles(dirFilter)) {
Archive epub = new Archive(epubDir.getAbsolutePath(), false);
epub.createArchive();
Report report = new DefaultReportImpl(epub.getEpubName());
EpubCheck check = new EpubCheck(epub.getEpubFile(), report);
if (check.validate()) {
System.out.println(Messages.NO_ERRORS__OR_WARNINGS);
String name = epub.getEpubName();