@Override
    public void finished() {
        
        if (outFile != null) {
            outFile.flush();
            outFile.close();
        }
        
        if (transmissionFile != null) {
            transmissionFile.flush();
            transmissionFile.close();
        }
        
        if (allEventsFile != null) {
            allEventsFile.flush();
            allEventsFile.close();
        }
        
        if (printToLogInfo) {
            log.info("IndividualSIRObserver - finished");
        }
    }