Automated File Type Identification in an S3 Bucket with Python We will walk through the process of building a Python script that is able to identify the file types of all the objects in an Amazon S3 bucket using the boto3 and magic libraries.