internal static bool CachedTemplateIsFresh(FileInfo fileInfo, MailTemplate template) { return(fileInfo.Exists && fileInfo.LastWriteTime == template.LastWrite); }