add parameter to remove old files in conf.d dir

Remove unmanaged files from conf.d directory