code: @Override
      public void write(final File filename) throws DITAOTException {
          // ignore in-exists file
          if (filename == null || !filename.exists()) {
              return;
          }
          svgMetadataReader.setLogger(logger);
          svgMetadataReader.setJob(job);
          currentFile = filename.toURI();
          logger.info("Processing " + filename.getAbsolutePath());
          try {
              super.write(filename);
          } catch (DITAOTException e) {
              logger.error("Failed to read image metadata: " + e.getMessage(), e);
          }
      }
docs: AbstractWriter methods --------------------------------------------------