Using ConfigParser instead of regex to parse configuration file.