Cleaning configuration file (tool-sampling)