Opening the S3 image file properly now.