Validation of config file