code: static String getPath(String pid) {
          String hex = DigestUtils.md5Hex(pid);
          return "" + hex.charAt(0) + hex.charAt(1) +
                  '/' + hex.charAt(2) + hex.charAt(3);
      }
docs: gets a path like 'ff/ff' from first 4 hex chars of pid md5 digest