Fix reading of a config file