if (base.isDirectory()) {
return new DirectoryWalker(base, inputFileFilter);
}
try {
return new ArchiveWalker(base, inputFileFilter);
} catch (IOException ex) {
out.print("ERROR: ");
out.print(baseDirectory);
out.print(" is not valid gzip data.\n");
return null;