public void add(String str){
  if (!bList.contains(str))   bList.add(str);
  hasChanged=true;
}

public void add ( String str ) { if ( ! bList . contains ( str ) ) bList . add ( str ) ; hasChanged = true ; }
adds a basename to the list .
