code: @Override
      public void discard(Event event) {
          File eventFile = new File(bufferDir, event.getId().toString() + FILE_SUFFIX);
          if (eventFile.exists()) {
              logger.debug("Discarding Event from offline storage: " + eventFile.getAbsolutePath());
              if (!eventFile.delete()) {
                  logger.warn("Failed to delete Event: " + eventFile.getAbsolutePath());
              }
          }
      }
docs: Deletes a buffered {@link Event} from disk.
  
  @param event Event to delete from the disk.