public void closeFile() throws IOException {
  file.close();
  file=null;
}

public void closeFile ( ) throws IOException { file . close ( ) ; file = null ; }
close the file . the file may later be re - opened using openfile .
