changed to use s3_file