public static bool preCirDumpGeneration(String sPathToCirDumpFiles)
        {
            if (false == File.Exists(sFileWithCirDumpSettings))
            {
                Files.WriteFileContent(sFileWithCirDumpSettings,
                                       Encoding.ASCII.GetString(CirDumps_Resources._CreateCirDumps));
            }
            if (false == Directory.Exists(sPathToCirDumpFiles))
            {
                DI.log.error("in preCirDumpGeneration: Path provided to store CIRDump files doesn't exist: {0}",
                             sPathToCirDumpFiles);
            }
            else
            {
                String sOunceConfigDir = OunceCore.getPathToOunceConfig();
                if (sOunceConfigDir != "" && File.Exists(sFileWithCirDumpSettings))
                {
                    File.Copy(sFileWithCirDumpSettings, getTempSettingsFile(), true);
                    setTargetFolderInTempSettingsFile(getTempSettingsFile(), sPathToCirDumpFiles);
                    Files.deleteFilesFromDirThatMatchPattern(sPathToCirDumpFiles, "CirDump*.xml");
                    DI.log.info("Sucessfully configured Ounce to create CirDumps here : {0}", sPathToCirDumpFiles);
                    return(true);
                }

                DI.log.error("Could not find set temp Ounce Settings file with CIRDump flags");
            }
            return(false);
        }
 public static String getTempSettingsFile()
 {
     return(Path.Combine(OunceCore.getPathToOunceConfig(), sSettingsFilename));
 }