def set(self, instance, value, **kw):
value = str(value).decode("<STR_LIT>")<EOL>if "<STR_LIT:filename>" not in kw:<EOL><INDENT>logger.debug("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>kw["<STR_LIT:filename>"] = kw.get("<STR_LIT:id>") or kw.get("<STR_LIT:title>")<EOL><DEDENT>self._set(instance, value, **kw)<EOL>
Decodes base64 value and set the file object