Yes, this is downloading the logfiles from the last 7 days. The reason why I'm doing this, is because the logfiles might not have been download if the function would be called separately from the cli. The other reason is, that the S3 object gives the timestamp information without downloading the file to disk.