wrote a horrible perl script for parsing the meat of the MDF configuration