<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def reverse_file(infile, outfile):
    '''Reverse the content of infile, write to outfile.
    Both infile and outfile are filenames or filepaths.
    '''
    with open(infile, 'rb') as inf:
        with open(outfile, 'wb') as outf:
            reverse_fd(inf, outf)