check configuration file