     }
     
     
-    /// Initialize this object by loading image data from the specified URL.
-    ///
-    /// :param: url -  A File URL pointing to the root directory of a stereogram object
-    /// :returns: A Stereogram object on success or an NSError object on failure.
-    
-    class func stereogramFromURL(url: NSURL) -> ResultOf<Stereogram> {
-        // URL should be pointing to a directory. Inside this there should be 3 files: LeftImage.jpg, RightImage.jpg, Properties.plist. Return an error if any of these are missing. Also load the properties file.
-        
-        let manager = NSFileManager.defaultManager()
-        let defaultPropertyDict: PropertyDict = [kViewingMethod : ViewMode.Crosseyed.rawValue]
-        
-        /// Checks if a file exists given a base directory URL and filename.
-        ///
-        /// :param: baseURL The Base URL to look in.
-        /// :param: fileName The name of the file to check for.
-        /// :returns: .Success if the file was present, .Error(NSError) if it was not.
-        
-        var fileExists = { (baseURL: NSURL, fileName: String) -> Result in
-            let fullURLPath = baseURL.URLByAppendingPathComponent(fileName).path
-            if let fullPath = fullURLPath {
-                if manager.fileExistsAtPath(fullPath) {
-                    return .Success()
-                }
-            }
-            let userInfo = [NSFilePathErrorKey : NSString(string: fullURLPath ?? "<no path>")]
-            return .Error(NSError(errorCode:.FileNotFound, userInfo: userInfo))
-        }
-        
-        // if any of the files don't exist, then return an error.
-        let result = and([
-            fileExists(url, LeftPhotoFileName),
-            fileExists(url, RightPhotoFileName),
-            fileExists(url, PropertyListFileName)])
-        if let err = result.error {
-            return .Error(err)
-        }
-        
-        // Load the property list at the given URL.
-        var propertyList = defaultPropertyDict
-        switch loadPropertyList(url.URLByAppendingPathComponent(PropertyListFileName)) {
-        case .Success(let propList):
-            propertyList = propList.value
-        case .Error(let error):
-            return .Error(error)
-        }
-        return ResultOf(Stereogram(baseURL: url, propertyList: propertyList))
-     }
-    
     
     
 

    private var _propertyList: PropertyDict
    
    /// Cached images in memory. Free these if needed.
    private var _leftImage: UIImage?, _rightImage: UIImage?, _stereogramImage: UIImage?, _thumbnailImage: UIImage?
    
    //MARK: Private methods
    

        if success {
            _thumbnailImage = nil
            _stereogramImage = nil
            return .Success()
        }
        return .Error(error!)
