model-view-controller pattern nextwe create the model object that retrieves greeting from file or returns the standard greeting model py import os class namemodel(object)def __init__(self)self filename 'names datdef _get_append_write(self)if os path exists(self filename)return 'areturn 'wdef get_name_list(self)if not os path exists(self filename)return false with open(self filename' 'as data_filenames data_file read(split('\ 'return names def save_name(selfname)with open(self filenameself _get_append_write()as data_filedata_file write("{}\nformat(name)lastlywe create view object to display the greeting to the user view py class greetingview(object)def __init__(self)pass def generate_greeting(selfnameknown)if name ="lion"print("rrrrrrrroar!"return