Add check of read configuration file