public boolean clean(){
  try {
    FileUtils.deleteDirectory(new File(Properties.CTG_DIR));
  }
 catch (  IOException e) {
    logger.error("Cannot delete folder " + Properties.CTG_DIR + ": "+ e,e);
    return false;
  }
  return true;
}

public boolean clean ( ) { try { FileUtils . deleteDirectory ( new File ( Properties . CTG_DIR ) ) ; } catch ( IOException e ) { logger . error ( "Cannot delete folder " + Properties . CTG_DIR + ": " + e , e ) ; return false ; } return true ; }
delete all ctg files
