def store_to_file(filename, question, answers):
    f = open(filename, 'w+')
    f.write(question)
    for ans in answers:
        f.write(ans)
    f.close()
    logger.info(('Saved to file %s' % filename))
def store_to_file(filename, question, answers):
    f = open(filename, 'w+')
    f.write(question)
    for ans in answers:
        f.write(ans)
    f.close()
    logger.info(('Saved to file %s' % filename))