Modified testing of the output file dictionary to be more detailed.