public boolean isValidPrefix(String path){
  if (_prefix == null)   return true;
 else   return path.startsWith(_prefix);
}

public boolean isValidPrefix ( String path ) { if ( _prefix == null ) return true ; else return path . startsWith ( _prefix ) ; }
checks that the path is an allowable prefix .
