     ///  :param: type AssetType to get the json file for.
     ///
     ///  :returns: The JSON data for the given AssetType.
-    private func JSONObjectForType(type: AssetType, andPlatform platform: String) -> Array<[String : String]> {
+    func JSONObjectForType(type: AssetType, andPlatform platform: String) -> Array<[String : String]> {
         // Holds the path to the required JSON file.
         let path : String?
         

    ///
    ///  :returns: The initialized JSONData.
    init(forType type: AssetType, andPlatforms platforms: [String]) {
        self.images   = []
        self.contents = [:]
        
        // Initialize the data object.
        for platform in platforms {
            self.images += JSONObjectForType(type, andPlatform: platform)
        }
    }
    
    init(forType type: AssetType) {
        self.images   = []
        self.contents = [:]
        
        // Initialize the data object.
        self.images = JSONObjectForType(type, andPlatform: "")
    }
    
    ///  Gets the JSON data for the given AssetType.

        
        // Unwrap the JSON file path.
        if let path = path {
            // Create a new NSData object from the contents of the selected JSON file.
            if let data = NSData(contentsOfFile: path) {
                // Create a new JSON object from the given data and cast it to a Dictionary.
                let json = NSJSONSerialization.JSONObjectWithData(data, options: .AllowFragments, error: nil) as! Dictionary<String, AnyObject>
                
                // Get the image information as Array.
                if let images = json["images"] as? Array<[String : String]> {
                    // Return the new array with image information.
                    return images
                }
            }
        }
        
        return []
