code: @Override
      public void process(Step step) {
          Attachment attachment = writeAttachmentSafely(getAttachment(), getTitle(), getType());
          step.getAttachments().add(attachment);
      }
docs: Write attachment from event using
  {@link ru.yandex.qatools.allure.utils.AllureResultsUtils#writeAttachmentSafely(byte[], String, String)}
  Then add attachment to step attachments.
  
  @param step to change