After fit old configuration file is saved with extension ~cfg.
New settings replace old settings in cfg file.
boost::filesystem is used now.