Appending results to file