def combine_files(self, f1, f2, f3):
with open(os.path.join(self.datadir, f3), '<STR_LIT:wb>') as new_file:<EOL><INDENT>with open(os.path.join(self.datadir, f1), '<STR_LIT:rb>') as file_1:<EOL><INDENT>new_file.write(file_1.read())<EOL><DEDENT>with open(os.path.join(self.datadir, f2), '<STR_LIT:rb>') as file_2:<EOL><INDENT>new_file.write(file_2.read())<EOL><DEDENT><DEDENT>
Combines the files 1 and 2 into 3.