Return a list of all of the files/folders in the bucket. If path is given, then it will be used as the root of the search. Results are returned relative to path; if path is not given, then the results will contain the full S3 path.

The following all ultimately return one item referring to "path/to/my/file.ext"; however, by limiting the scope via path, the results are different.

List every file in the bucket:

The return format is identical to that of the findFiles step. This will return an array of FileWrapper instances with the following properties:

When used in a string context, a FileWrapper object returns the value of its path.