Add support for config file validation