         }
     }
 }
-
-/*
-
-
-var iKeyString = String(bytes: iKey, length: iKeyLength, encoding: NSUTF8StringEncoding)
-
-func id() {
-    var iData
-    var iDataLength: Int
-    levelDBIteratorGetValue(iterator, iData!, iDataLength)
-    var v = decoder(iKeyString, NSData(bytes: iData!, length: iDataLength)!)
-    return v!
-}
-
-func block() {
-    self.enumerateKeysAndObjectsBackward(false, lazily: false, startingAtKey: nil, filteredByPredicate: nil, andPrefix: nil, usingBlock: block)
-}
-
-*/

                }
            }
            let iKeyString = String(NSString(bytes: iKey[0], length: iKeyLength[0], encoding: NSUTF8StringEncoding))
            
            let iData: UnsafeMutablePointer<UnsafeMutablePointer<Void>> = nil
            let iDataLength: UnsafeMutablePointer<Int> = nil
            levelDBIteratorGetValue(iterator, iData, iDataLength)
            let v : AnyObject? = (predicate == nil) ? nil : decoder(iKeyString, NSData(bytes: iData[0], length: iDataLength[0]))
            if let predicate = predicate, value = v {
                if predicate.evaluateWithObject(value) {
                    block(iKeyString, &stop)
                }
            } else {

    func deleteDatabaseFromDisk() {
        self.close()
        let fileManager = NSFileManager.defaultManager()
        do {
            try fileManager.removeItemAtPath(path)
        }
