Added the ability to flush the configuration file