using Utils.deleteRecursively to clean the generated conf, replace hardcoded conf dir name with generated one