@Override
    public void flush() throws StorageException {
      try {
        myFileChannel.force(true);
      }
      catch (IOException e) {
        throw closeWithException(new StorageException(e));
      }
    }
@Override
    public void flush()