repair s3 attach file