                 
                 do
                 {
-                       if !fileManager.fileExistsAtPath(directoryPath)
+                    if !fileManager.fileExistsAtPath(directoryPath)
                     {
                         try fileManager.createDirectoryAtPath(directoryPath, withIntermediateDirectories: true, attributes: nil)
                     }

{
    struct Constant
    {
        static let cacheDirectory = "com.vimeo.Caches"
    }
    
    /**

                fatalError("no cache directories found")
            }
            
            // We need to create a directory in `../Library/Caches folder`. Otherwise, trying to remove the Apple /Caches folder will always fail. Note that it's noticeable while testing on a device.
            guard let url = NSURL(fileURLWithPath: directory).URLByAppendingPathComponent(Constant.CacheDirectory) else
            {
                assertionFailure("Unable to create cacheDirectory directory")
                return NSURL(fileURLWithPath: directory)
            }
            
            return url
        }
        
        private func fileURLForKey(key key: String) -> NSURL?
