def nzf_get_filename(nzf):
 name = nzf.filename
 if (not name):
  name = nzf.subject
 if (not name):
  name = ''
 return name.lower()

def nzf_get_filename ( nzf ) : name = nzf . filename if ( not name ) : name = nzf . subject if ( not name ) : name = '' return name . lower ( )
return filename .