<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setup(self):
 """ Performs backup if necessary. """

        if self.backup:
            shutil.copy(self.input_file, "{}.orig".format(self.input_file))