public static (bool, string) ValidateLocalSiteRootDirectory()
        {
            var settings = UserSettingsSingleton.CurrentSettings();

            if (string.IsNullOrWhiteSpace(settings.LocalSiteRootDirectory))
            {
                return(false, "No Local File Root User Setting Found");
            }

            try
            {
                var directory = new DirectoryInfo(settings.LocalSiteRootDirectory);
                if (!directory.Exists)
                {
                    directory.Create();
                }
                directory.Refresh();
            }
            catch (Exception e)
            {
                return(false, "Trouble with Local File Root Directory.");
            }

            return(true, string.Empty);
        }
        public static string StylesCssFromLocalSiteRootDirectory()
        {
            var settings = UserSettingsSingleton.CurrentSettings();

            var possibleFile = new FileInfo(Path.Combine(settings.LocalSiteRootDirectory, "styles.css"));

            if (!possibleFile.Exists)
            {
                return(string.Empty);
            }

            return(File.ReadAllText(possibleFile.FullName));
        }