remove the setConfigFile method as it is useless anyway, it will not work during callback