Refactored S3 using AWS library and update with new filer API

That's what this if check is for, the case that the key isn't found.