reader.initialize(baseDir, CourseIO.orFilename());
new CourseIO(factory, reader, null, registry).importData();
reader.initialize(baseDir, CategoryIO.sourceFilename());
new CategoryIO(factory, reader, null, registry).importData();
} catch (IOException e) {
e.printStackTrace();
}
return registry;
}