'The filename from the Content-Disposition header or None.
On safety:
This property records the intent of the sender.
You shouldn\'t use this sender-controlled value as a filesystem path, it
can be insecure. Serving files with this filename can be dangerous as
well, due to a certain browser using the part after the dot for
mime-sniffing.  Saving it to a database is fine by itself though.'

def filename(self):

    if ('filename*' in self.assocs):
        return self.assocs['filename*']
    elif ('filename' in self.assocs):
        return self.assocs['filename']
