public static String resolvePathname(final String pathname) {
    return (isBlank(pathname) ? pathname
        : IOUtils.tryGetCanonicalPathElseGetAbsolutePath(new File(pathname)));
  }
Resolves file system path relative to Gfsh. If the pathname is not specified, then pathname is
returned.

@param pathname a String value specifying the file system pathname to resolve.
@return a String specifying a path relative to Gfsh.
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/CliUtils.java