S3 update

Updated the S3 file system example to work with the new file system API.