Solution to a coding puzzle involving parsing modified .ini files