if (fileType == null) {
handler = new CountingCacheHandler();
} else if (fileType.equals("cache")) {
handler = new CountingCacheHandler();
} else if (fileType.equals("history")) {
handler = new Pasco2HistoryHandler();
}
if (format != null) {
if (format.equals("pasco")) {
DateFormat regularDateFormat = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss.SSS");