private static void CheckArchive() { var archive = new Archive(); if (!archive.CheckArchiveFolderExists()) { archive.CreateArchiveFolder(); } archive.ArchiveLogFile(); archive.Purge(); }