Added code that combines all the validation output into a single output.