multiple experiments and write results to file