<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run(fn, blocksize, seed, c, delta):
 """Run the encoder until the channel is broken, signalling that the receiver has successfully reconstructed the file """


    with open(fn, 'rb') as f:
        for block in encode.encoder(f, blocksize, seed, c, delta):
            sys.stdout.buffer.write(block)