storing empirical results to textfile