LOG.debug("Opening file to read: {}",
current);
boolean succeed = false;
FileInputStream stream = new FileInputStream(current);
try {
CountingInputStream result = new CountingInputStream(new BufferedInputStream(stream, BUFFER_SIZE));
succeed = true;
return result;
} finally {
if (succeed == false) {
try {