Parsing variables in config files