                 }
             }
         }
-        break
     }
     
     do {
         let data = try JSONSerialization.data(withJSONObject: allCharacters, options: .prettyPrinted)
-        save(data: data, to: "bomb_characters.json")
+        save(data: data, to: "chars.json")
     } catch {
         print("Failed to convert characters to data")
     }

        "id",
        "image"
]

fileprivate var fileJson: [[String: Any]] = []


/*

}


fileprivate func readInFileData(_ file: String) -> [[String: Any]] {
    if let documentDirectoryUrl = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first {
        let fileUrl = documentDirectoryUrl.appendingPathComponent(file)
        do {
            let data = try Data(contentsOf: fileUrl)
            if let json = try JSONSerialization.jsonObject(with: data, options: []) as? [[String: Any]] {
                return json
            } else {
                
            }
