Simplify parsing of config file