docs: @Override
      protected ExternalBinaryValue createBinaryValue( File file ) throws IOException {
          URL content = createUrlForFile(file);
          if (contentBasedSha1()) {
              return new UrlBinaryValue(sha1(file), getSourceName(), content, file.length(), file.getName(), getMimeTypeDetector());
          }
          return new FileUrlBinaryValue(sha1(file), getSourceName(), content, file.length(), file.getName(), getMimeTypeDetector());
      }