code: private String getAbsoluteName() {
          File f = getAbsoluteFile();
          String name = f.getPath();
          if (f.isDirectory() && name.charAt(name.length() - 1) != separatorChar) {
              // Directories must end with a slash
              name = name + "/";
          }
          if (separatorChar != '/') { // Must convert slashes.
              name = name.replace(separatorChar, '/');
          }
          return name;
      }
docs: TODO: is this really necessary, or can it be replaced with getAbsolutePath?