public void removePresetDirectory(String id){
  File presetDir=getPresetDirectory(id);
  if (presetDir.isDirectory()) {
    killDirectory(presetDir);
  }
}

public void removePresetDirectory ( String id ) { File presetDir = getPresetDirectory ( id ) ; if ( presetDir . isDirectory ( ) ) { killDirectory ( presetDir ) ; } }
removes the data directory belonging to a preset
