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