public static Dictionary <string, string> AccessRawConfigContent(string filePath)
        {
            Dictionary <string, string> configDictionary = PatService.GetPats(File.ReadAllLines(filePath));

            configDictionary.Remove("defaultKey");
            return(configDictionary);
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="filePath"></param>
        /// <param name="newContent"></param>
        /// <exception cref="UnauthorizedAccessException"/>
        /// <exception cref="IOException"/>
        public static void UpdateConfigFile(string filePath, string newContent)
        {
            string validNewContent = ValidateUpdateInput(newContent);

            if (File.Exists(filePath))
            {
                File.Delete(filePath);
            }

            try
            {
                new LibraryInterface().EncryptDictionary(PatService.GetPats(validNewContent), filePath);
            }
            catch (DirectoryNotFoundException)
            {
                Directory.CreateDirectory(Path.GetDirectoryName(filePath));
            }
        }