Added appending results to file