Add functionality to allow for appending failure results to a file