client writes run results in a file