public static void CheckFiles()
{
//Check if the main directory exists. If its dosent, Create the main directory
if (!Directory.Exists(MainDirectory))
Directory.CreateDirectory(MainDirectory);
//Now check for each sub-folder. If they dont exist, then add them
foreach (KeyValuePair<string, string> kv in Directories)
if (!Directory.Exists(kv.Value))
Directory.CreateDirectory(kv.Value);
}