public void deleteObject(DeleteObjectRequest req) {
req.getRequestClientOptions().appendUserAgent(USER_AGENT);
// Delete the object
super.deleteObject(req);
// If it exists, delete the instruction file.
InstructionFileId ifid =
new S3ObjectId(req.getBucketName(), req.getKey())
.instructionFileId();
DeleteObjectRequest instructionDeleteRequest =
new DeleteObjectRequest(ifid.getBucket(), ifid.getKey());
super.deleteObject(instructionDeleteRequest);
}