code: public void add(String key, Collection<String> cves)
              throws VictimsException {
          key = hash(key);
  
          if (exists(key)) {
              delete(key);
          }
  
          String result = "";
          if (cves != null) {
              result = StringUtils.join(cves, ",");
          }
  
          try {
              FileOutputStream fos = new FileOutputStream(FileUtils.getFile(
                      location, key));
              try {
                  fos.write(result.getBytes());
              } finally {
                  fos.close();
              }
          } catch (IOException e) {
              throw new VictimsException(String.format(
                      "Could not add disk entry for key: %s", key), e);
          }
  
      }
docs: Add a new cache entry.
  
  @param key
  @param cves
  A {@link Collection} of CVE Strings. If null an empty string
  is used.
  @throws VictimsException