try {
if (CSVLoader.standin) {
tokenizer = new Tokenizer(new BufferedReader(new InputStreamReader(System.in)), csvPreference,
config.strictquotes, config.escape, config.columnsizelimit,
config.skip);
listReader = new CsvListReader(tokenizer, csvPreference);
} else {
tokenizer = new Tokenizer(new FileReader(config.file), csvPreference,
config.strictquotes, config.escape, config.columnsizelimit,
config.skip);
listReader = new CsvListReader(tokenizer, csvPreference);
}
} catch (FileNotFoundException e) {
m_log.error("CSV file '" + config.file + "' could not be found.");
System.exit(-1);
}