         case 2:
             self.changeDeviceToken()
         case 3:
-            self.liveQuerySubscribe()
+            self.liveQuerySubscribeFile()
+        case 4:
+            self.createFile()
+        case 5:
+            let alert: UIAlertController = UIAlertController(title: "Input", message: "objectId of deleting file", preferredStyle: .alert)
+            
+            alert.addTextField(configurationHandler: { _ in })
+            alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
+            alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { [weak alert] _ in
+                
+                if let text: String = alert?.textFields?.first?.text {
+                    
+                   self.deleteFile(with: text)
+                }
+            }))
+            
+            self.present(alert, animated: true, completion: nil)
+        case 6:
+            self.liveQueryUnsubscribeFile()
         default:
             fatalError()
         }

    
    func imLogin() {
        
        self.disableUserInteraction()
        
        self.client.open { (success: Bool, error: Error?) in
            
            self.enableUserInteraction()
            
            if success {
                
                self.showAlert(title: "Success", message: "Login")


extension ViewController: AVLiveQueryDelegate {
    
    func liveQuery(_ liveQuery: AVLiveQuery, objectDidCreate object: Any) {
        
        assert(self.isShowFileCallbackAlert == false)
        
        self.showAlert(title: "Object Did Create", message: "\(object)")
    }
    
    func liveQuery(_ liveQuery: AVLiveQuery, objectDidDelete object: Any) {
        
        assert(self.isShowFileCallbackAlert == false)
        
        self.showAlert(title: "Object Did Delete", message: "\(object)")
    }
    
}
