Utils to parse the config file