def METHOD_NAME(self, content):
    filename = os.path.join(self.dir, 'cookies')
    with open(filename, 'x') as f:
        f.write(content)
    jar = GoCookieJar()
    jar.load(filename=filename)
    return jar