     /**
     File Exists (directory is false)
     
-    :param: relativePath
-    
-    :returns:
+    - parameter relativePath:
+    
+    - returns:
     */
-    public class func fileExistsAtPath(#relativePath: String?) -> Bool {
+    public class func fileExistsAtPath(relativePath relativePath: String?) -> Bool {
         if let path = relativePath {
             if let absolutePath = Warehouse.translateRelativeToAbsolute(path) {
                 var isDirectory: ObjCBool = false

   public func createDirectoryIfNeeded() -> Bool{
        let directoryPath = self.saveDirectoryAbsolutePath()
        var error: NSError?
        if self.fileManager.createDirectoryAtPath(directoryPath, withIntermediateDirectories: true, attributes: nil, error: &error) {
            if error == nil {
                WHLog("Create Directory Success \(directoryPath)")
                return true

                WHLog("Create Directory Failed \(directoryPath)")
                return false
            }
        } catch let error1 as NSError {
            error = error1
            WHLog("Create Directory Failed \(directoryPath)")
            return false
        }
    }

    
    private func saveAndWait(savePath savePath: String, contents: NSData) -> Bool {
        
        let createLog: (Bool -> (Void)) = { (success: Bool) -> Void in
            // log
            let stateString = success ? "Success" : "Failed"
            let log = [
                "State" : stateString,
                "FilePath" : savePath
            ]
