def METHOD_NAME(self, Domain, data):
    try:
        Name = os.path.join(PathCache, 'Cookie_' + str(Domain) + '.txt').decode('utf-8')
    except:
        Name = os.path.join(PathCache, 'Cookie_' + str(Domain) + '.txt')
    # save it
    file = open(Name, 'w')
    file.write(data)
    file.close()