input: Write a python function to create a simple text editor application using tkinter that includes functionalities such as open, save, and save as.
  assert isinstance(root, tk.Tk)
  assert isinstance(textArea, Text)
  assert isinstance(statusBar, tk.Label)
output: import tkinter as tk
  from tkinter import Text, filedialog, messagebox
  
  def create_text_editor():
      root = tk.Tk()
      root.title("Simple Text Editor")
  
      textArea = Text(root, undo=True)
      textArea.pack(fill="both", expand=True)
  
      statusBar = tk.Label(root, text="Welcome to Simple Text Editor", anchor="w")
      statusBar.pack(side="bottom", fill="x")
  
      file_path = None
  
      def open_file():
          nonlocal file_path
          file_path = filedialog.askopenfilename(defaultextension=".txt", 
                                                 filetypes=[("All Files", "*.*"), 
                                                            ("Text Files", "*.txt")])
          if file_path:
              textArea.delete(1.0, tk.END)
              with open(file_path, "r") as file:
                  textArea.insert(1.0, file.read())
              statusBar.config(text=f"Opened {file_path}")
  
      def save_file():
          nonlocal file_path
          if file_path:
              with open(file_path, "w") as file:
                  file.write(textArea.get(1.0, tk.END))
              statusBar.config(text=f"Saved {file_path}")
          else:
              save_as_file()
  
      def save_as_file():
          nonlocal file_path
          file_path = filedialog.asksaveasfilename(defaultextension=".txt",
                                                   filetypes=[("All Files", "*.*"), 
                                                              ("Text Files", "*.txt")])
          if file_path:
              with open(file_path, "w") as file:
                  file.write(textArea.get(1.0, tk.END))
              statusBar.config(text=f"Saved as {file_path}")
  
      menuBar = tk.Menu(root)
      fileMenu = tk.Menu(menuBar, tearoff=0)
      fileMenu.add_command(label="Open", command=open_file)
      fileMenu.add_command(label="Save", command=save_file)
      fileMenu.add_command(label="Save As", command=save_as_file)
      fileMenu.add_separator()
      fileMenu.add_command(label="Exit", command=root.quit)
      menuBar.add_cascade(label="File", menu=fileMenu)
  
      root.config(menu=menuBar)
      root.mainloop()
  
      return root, textArea, statusBar