public ObjectBank<List<IN>> makeObjectBankFromFiles(String baseDir, String filePattern,
DocumentReaderAndWriter<IN> readerAndWriter) {
File path = new File(baseDir);
FileFilter filter = new RegExFileFilter(Pattern.compile(filePattern));
File[] origFiles = path.listFiles(filter);
Collection<File> files = new ArrayList<File>();
for (File file : origFiles) {
if (file.isFile()) {
if (flags.announceObjectBankEntries) {