Question: Write a function named prompt open that prompts for a file name and repeatedly attempts to read the specified file until a correctly specified file has been entered. The function takes one mode argument, r; or w;, and returns the file handle that open returns.