@Override
public Continuation execute(AppCommandParser parser, Session session, Output out) throws Exception {
String fileName = parser.option("i", null);
Config config = Config.fromOptions(parser);
CountingReader reader = FileUtils.readerFor(fileName);
if (reader!=null) {
int count = execute(reader, new ProgressReporter(reader, out), config);
out.println("Geoff import of "+fileName+" created "+count+" entities.");
}
if (reader!=null) reader.close();
return Continuation.INPUT_COMPLETE;
}