Revise the extract Res Table () function in Section 2.7 so that it takes an additional parameter: file. Give the file parameter a default value of NULL. When NULL, the parsed results are returned from extract Res Table () as a character vector. If not NULL, the results are written to the file named in file. The write Lines () function should be helpful here.