def METHOD_NAME(filename):
    outfile = codecs.open('data.pot', encoding='UTF-8', mode='w')
    outfile.write(header.format(now=now.strftime('%Y-%m-%d %H:%M+%z')))
    remove_duplicates()
    for line_c,line in zip(comments,keys):
        outfile.write(POT_STRING.format(comment=line_c, msgid=line))