@Override
 public void close() throws IOException {
   flushBefore(raf.length());
   super.close();
   raf.close();
   file.delete();
 }
 @Override
 public void close() throws IOException {
   flushBefore(length());
   super.close();
   ramc.close();
 }