private void open(File fileName,boolean append) throws IOException {
  meteredStream=new MeteredStream(fileName,append);
  setOutputStream(meteredStream);
  checkForHeaderWritten(fileName.toString());
}

private void open ( File fileName , boolean append ) throws IOException { meteredStream = new MeteredStream ( fileName , append ) ; setOutputStream ( meteredStream ) ; checkForHeaderWritten ( fileName . toString ( ) ) ; }
algorithm : check how many bytes have already been written to to that file get an instance of meteredstream and assign it as the output stream . create a file of the name of fileoutputstream .
