updated parsing logic
added some additional print statements and assertions to better report the types of errors found when parsing various config files.
added some additional print statements and assertions to better report the types of errors found when parsing various config files.