def METHOD_NAME(self, questionanswer):
    data = questionanswer.answer['data']
    if 'filename' in data and 'secret' in data:
        html = '<p><a href="%s">%s</a> (%s)</p>' % (
            self.secret_url(questionanswer),
            data['filename'],
            filesizeformat(data['size']),
        )
    else:
        html = MISSING_ANSWER_HTML
    return mark_safe(html)