in case there are more files than the S3 api likes to give you in one go...

this will make sure you get them all.
Yeah, the API docs are pretty clear that you should call isTruncated() to see if there are more results waiting. I haven't looked at the source, but I bet they don't fetch them unless you do.