 //  }
 //  for filename in contents {
 //      do {
-// 			let path = codePath + "/" + filename
+//             let path = codePath + "/" + filename
 //          let string = try String(contentsOfFile: path)
 //          //let string = try String(contentsOf: #fileLiteral(resourceName: "WMFContentGroup+WMFFeedContentDisplaying.m"))
 //          let mutableString = NSMutableString(string: string)

            }
            
        }

        for stringsDictFilePath in pathsForEnglishPlurals {
            englishPluralDictionary?.write(toFile: stringsDictFilePath, atomically: true)
        }

    try output.write(toFile: toFile, atomically: true, encoding: .utf16) //From Apple: Note: It is recommended that you save strings files using the UTF-16 encoding, which is the default encoding for standard strings files. It is possible to create strings files using other property-list formats, including binary property-list formats and XML formats that use the UTF-8 encoding, but doing so is not recommended. For more information about Unicode and its text encodings, go to http://www.unicode.org/ or http://en.wikipedia.org/wiki/Unicode.
}

// See "Localized Metadata" section here: https://docs.fastlane.tools/actions/deliver/
func writeFastlaneAppStoreLocalizedMetadataFile(fileName: String, contents: String, locale: String, path: String) throws {
    let pathForFastlaneMetadataForLocale = "\(path)/fastlane/metadata/\(locale)"
    try FileManager.default.createDirectory(atPath: pathForFastlaneMetadataForLocale, withIntermediateDirectories: true, attributes: nil)
    let descriptionFileURL = URL(fileURLWithPath:"\(pathForFastlaneMetadataForLocale)/\(fileName)",  isDirectory: false)
    try contents.write(to: descriptionFileURL, atomically: true, encoding: .utf8)
}

func writeTWNStrings(fromDictionary dictionary: [String: String], toFile: String, escaped: Bool) throws {
