demo Text Editor (open, save, save as, close)