private void initializeCounterFile(){
  try {
    openCounterDataOutputStream();
    dOutput.write("0");
    dOutput.newLine();
    dOutput.flush();
    if (LOG.isDebugEnabled())     LOG.debug("initializeCounterFile() - The counter file has been updated with zero");
  }
 catch (  IOException e) {
    LOG.error("initializeCounterFile() - Error while trying to write in the counter file");
  }
catch (  DataFallbackException e) {
    LOG.error("initializeCounterFile() - The counter file could not be opened");
  }
 finally {
    try {
      closeCounterDataOutputStream();
    }
 catch (    DataFallbackException ex) {
      LOG.error("initializeCounterFile() - The counter file could not be closed");
    }
  }
}

private void initializeCounterFile ( ) { try { openCounterDataOutputStream ( ) ; dOutput . write ( "0" ) ; dOutput . newLine ( ) ; dOutput . flush ( ) ; if ( LOG . isDebugEnabled ( ) ) LOG . debug ( "initializeCounterFile() - The counter file has been updated with zero" ) ; } catch ( IOException e ) { LOG . error ( "initializeCounterFile() - Error while trying to write in the counter file" ) ; } catch ( DataFallbackException e ) { LOG . error ( "initializeCounterFile() - The counter file could not be opened" ) ; } finally { try { closeCounterDataOutputStream ( ) ; } catch ( DataFallbackException ex ) { LOG . error ( "initializeCounterFile() - The counter file could not be closed" ) ; } } }
it sets the file counter to zero
