code: private String[] parseBucketKeyAndFileName(String s) {
          String[] ret = new String[3];
  
          s = s.substring("s3://".length());
          int index = s.indexOf("/");
  
          String bucket = s.substring(0, index);
          String key = s.substring(index + 1);
          String fn = s.substring(s.lastIndexOf("/") + 1);
  
          ret[0] = bucket;
          ret[1] = key;
          ret[2] = fn;
  
          return ret;
      }
docs: rushing this morning - MA