   }
 
   static func load(path: URLStringConvertible) -> AnyObject? {
-    let fileManager = NSFileManager.defaultManager()
     let loadPath = Storage.buildPath(path, createPath: false)
     if fileManager.fileExistsAtPath(loadPath) {
       let loadedObject: AnyObject? = NSKeyedUnarchiver.unarchiveObjectWithFile(loadPath)

import UIKit

public class Storage {

  static let applicationDirectory: String = {
    let paths:NSArray = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)


      if folderPath != Storage.applicationDirectory {
        var error: NSError?
        fileManager.createDirectoryAtPath(folderPath, withIntermediateDirectories: true, attributes: nil, error: &error)
      }
    }
