code: public T addFile(final String name, final List<String> path, final byte[] newHash, final boolean isDirectory) {
          return addFile(name, path, newHash, isDirectory, null);
      }
docs: Add a misc file.
  
  @param name the file name
  @param path the relative path
  @param newHash the new hash of the added content
  @param isDirectory whether the file is a directory or not
  @return the builder