filesProcessed=0;
duplicateFilesRead=0;
map = new HashMap<String,File>();
File root = new File( getParameter(0) );
logFile = new SimpleLogFile( getParameter(1) );
processDirectory(root);
logFile.logMessage("Processed "+filesProcessed+" files in "+directoriesProcessed+" directories. Duplicates found: "+duplicateFilesRead+". "+bytesRead+" bytes read of which "+duplicateBytesRead+" was duplicate data.");
}