code: public void outputObjects(XMLStructuredOutput output, int limit, @Nullable String marker, @Nullable String prefix) {
          ListFileTreeVisitor visitor = new ListFileTreeVisitor(output, limit, marker, prefix);
  
          output.beginOutput("ListBucketResult", Attribute.set("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"));
          output.property("Name", getName());
          output.property("MaxKeys", limit);
          output.property("Marker", marker);
          output.property("Prefix", prefix);
          try {
              Files.walkFileTree(file.toPath(), visitor);
          } catch (IOException e) {
              Exceptions.handle(e);
          }
          output.property("IsTruncated", limit > 0 && visitor.getCount() > limit);
          output.endOutput();
      }
docs: Returns a list of at most the provided number of stored objects
  
  @param output the xml structured output the list of objects should be written to
  @param limit  controls the maximum number of objects returned
  @param marker the key to start with when listing objects in a bucket
  @param prefix limits the response to keys that begin with the specified prefix