@Override
protected void doRun() {
String fileName = getCommandLine().getOptionValue(FILE_NAME_OPT);
SheetFormat sheetFormat = SheetFormat.of(fileName);
try {
new TimeSeriesLoader(getToolContext().getHistoricalTimeSeriesMaster()).run(
sheetFormat,
new BufferedInputStream(new FileInputStream(fileName)),
getCommandLine().getOptionValue(TIME_SERIES_DATASOURCE_OPT),
getCommandLine().getOptionValue(TIME_SERIES_DATAPROVIDER_OPT),
getCommandLine().getOptionValue(TIME_SERIES_DATAFIELD_OPT),