code: @Nullable
    public static String[] convertToNames(UfsStatus[] children) {
      if (children == null) {
        return null;
      }
      String[] ret = new String[children.length];
      for (int i = 0; i < children.length; ++i) {
        ret[i] = children[i].getName();
      }
      return ret;
    }
docs: Converts an array of UFS file status to a listing result where each element in the array is
  a file or directory name.
  
  @param children array of listing statuses
  @return array of file or directory names, or null if the input is null