         switch self {
         case .FileDoesNotExist:
             return "File does not exist."
+        case .FileCouldNotBeLoaded:
+            return "File could not be loaded."
         case .FailedToDownloadScript:
             return "Failed to download script."
         case .FailedToEvaluateScript:

        
        if filemanager.fileExistsAtPath(filePath) {
            guard let script = try? String(contentsOfFile: filePath, encoding: NSUTF8StringEncoding) else {
                throw NSError(ELJSBridgeError.FileDoesNotExist)
            }
            
            try self.load(script)
        }
        
    }


public enum ELJSBridgeError: Int, NSErrorEnum {
    case FileDoesNotExist
    case FileCouldNotBeLoaded
    case FailedToDownloadScript
    case FailedToEvaluateScript

