String secType = fullPath[fullPath.length - 1].substring(0, fullPath[fullPath.length - 1].lastIndexOf('.'));
_currentPath = (String[]) ArrayUtils.subarray(fullPath, 0, fullPath.length - 1);
// Set up a sheet reader and a row parser for the current CSV file in the ZIP archive
SheetReader sheet = new CsvSheetReader(_zipFile.getInputStream(entry));
RowParser parser = JodaBeanRowParser.newJodaBeanRowParser(secType);
if (parser == null) {
s_logger.error("Could not build a row parser for security type '" + secType + "'");
return null;