docs: public void addFile(InputStream inputStream, String name) {
          fileStreams.put(name, inputStream);
  
          // remove duplicate key
          if (files.containsKey(name)) {
              files.remove(name);
          }
      }