internal static string SaveDecryptedJsonFromFile(this IEJsonCrypto eJsonCrypto, string fileName, string outputFile, IPrivateKeyProvider keyProvider, IFileSystem fileSystem)
        {
            fileSystem = fileSystem ?? new FileSystemWrapper();
            var json = fileSystem.ReadAllText(fileName);

            return(eJsonCrypto.SaveDecryptedJson(json, outputFile, keyProvider));
        }
 internal static string SaveDecryptedJson(this IEJsonCrypto eJsonCrypto, string json, string outputFile, string keyDir, IFileSystem fileSystem)
 {
     return(eJsonCrypto.SaveDecryptedJson(json, outputFile, new FileSystemPrivateKeyProvider(keyDir, fileSystem)));
 }