 import UIKit
 
 public class Storage {
+
+  static var fileManager = {
+    return NSFileManager.defaultManager()
+    }()
 
   static let applicationDirectory: String = {
     let paths:NSArray = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)

  }

  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)


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