def q2f(q): queue_to_file(q, filename='test.txt', timeout=1.0)
def q2f2(q): queue_to_file(q, filename='result_min.dat', timeout=1.0)