code: private static Map<Tag, String> createTags(String ufsName, UfsStatus status) {
      Map<Tag, String> tagMap = new HashMap<>();
      tagMap.put(Tag.UFS, ufsName);
      tagMap.put(Tag.OWNER, status.getOwner());
      tagMap.put(Tag.GROUP, status.getGroup());
      tagMap.put(Tag.MODE, String.valueOf(status.getMode()));
      if (status instanceof UfsFileStatus) {
        tagMap.put(Tag.TYPE, Type.FILE.name());
        tagMap.put(Tag.CONTENT_HASH, ((UfsFileStatus) status).getContentHash());
      } else {
        tagMap.put(Tag.TYPE, Type.DIRECTORY.name());
      }
      return tagMap;
    }
docs: Parses the input status and returns a tag map.
  
  @param ufsName the name of the ufs, should be {@link UnderFileSystem#getUnderFSType()}
  @param status the {@link UfsStatus} to create the tagmap from
  @return the tag map object