s3_file patched