                     print("[ PFKit ][ DEBUG ] File removed.")
                 }
             } catch {
-                print("[ PFKit ][ ERROR ] File remove failed.")
+                if DEBUG_MODE {
+                    print("[ PFKit ][ ERROR ] File remove failed.")
+                }
             }
         } else if DEBUG_MODE {
             print("[ PFKit ][ ERROR ] File does not exist.")

     - Returns: 文件中的数据
     */
    public class func readDictionaryWithName(fileName: String) -> Dictionary<String, AnyObject> {
        var dictionary = NSDictionary(contentsOfFile: readWithName(fileName, directory: "document", type: nil) as! String) as! Dictionary<String, AnyObject>
        dictionary.removeValueForKey("")
        return dictionary
    }
    
    /**

    private class func readWithName(fileName: String, directory: String, type: String?) -> AnyObject {
        if directory == "bundle" {//资源包文件
            let path = NSBundle.mainBundle().pathForResource(fileName, ofType: type)
            var string = String()
            do {
                string = try String(contentsOfFile: path!, encoding: NSUTF8StringEncoding)
            } catch {
                if DEBUG_MODE {
                    print("[ PFKit ][ ERROR ] Read file failed.")
                }
            }
            return string.dataUsingEncoding(NSUTF8StringEncoding)!
        } else {//沙盒文件
            let paths = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)
            let path = NSURL(fileURLWithPath: paths[0]).URLByAppendingPathComponent(fileName)
