public void close(){
  try {
    if (read) {
      buffIn.close();
      in.close();
    }
 else {
      buffOut.flush();
      buffOut.close();
      out.close();
    }
    name=null;
  }
 catch (  IOException e) {
  }
}

public void close ( ) { try { if ( read ) { buffIn . close ( ) ; in . close ( ) ; } else { buffOut . flush ( ) ; buffOut . close ( ) ; out . close ( ) ; } name = null ; } catch ( IOException e ) { } }
close the currently open file
