public static String decode(String encoded) throws LowlevelStorageException {
   try {
     int i = encoded.indexOf('+');
     if (i != -1) {
       return Server.pidFromFilename(encoded.substring(0, i)).toString() + encoded.substring(i);
     } else {
       return Server.pidFromFilename(encoded).toString();
     }
   } catch (MalformedPidException e) {
     throw new LowlevelStorageException(true, e.getMessage(), e);
   }
 }