def add_data(self, input_file): reader = FileReader() reader.add_file(input_file) self.my_program = reader.print_program() print(self.my_program)