<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def new_output_file_opt(self, opt, name):
 """ Add an option and return a new file handle """

        fil = File(name)
        self.add_output_opt(opt, fil)
        return fil