 }
 
 
+
+
 //MARK: - LifeCycle -
 private extension CoreDataStack {
     

    }
    
    
    private func removeDBFilesiOS8() throws {
        let fileManager = NSFileManager.defaultManager()
        do {
            let urls = try fileManager.contentsOfDirectoryAtURL(
                self.containerURL, includingPropertiesForKeys: [], options: .SkipsSubdirectoryDescendants)
            
            let sqliteUrls = urls.filter { nil != $0.absoluteString.rangeOfString("\(self.modelName).sqlite") }
            for url in sqliteUrls {
                do {
                    try fileManager.removeItemAtURL(url)
                }
                catch let error as NSError {
                    Log("Unable to remove sqlite file with error: \(error.localizedDescription)")
                    throw error
                }
            }
        }
        catch let error as NSError {
            Log("Unable to fetch contents of container directory with error: \(error.localizedDescription)")
            throw error
        }
    }
}

    
    
    private func removePersistentStore() throws {
        
    }
    
    private func removeDBFiles() throws {

    }
    
    @available(iOS 9.0, *)
    private func destroyPersistentStoreIOS9() throws {
        //The store has already been destroyed if the persistentStoreCoordinator is nil here so bail silently.
        guard let psc = persistentStoreCoordinator else {
            return
        }
        
        do {
            let url = containerURL.URLByAppendingPathComponent("\(modelName).sqlite")
            try psc.destroyPersistentStoreAtURL(url, withType: storeType, options: storeOptions)
        }
        catch let error as NSError {
            throw error
