Finished writing results to file