private static void checkAndCreateFolder(String folderPath) { if (!Directory.Exists(folderPath)) Directory.CreateDirectory(folderPath); }