adds a file check and start to read the config to set settings