def readbytes(filename, buffersize=1024):
 infile = open(filename, 'rb')
 for byte in filebytes(infile, buffersize):
  (yield byte)

def readbytes ( filename , buffersize = 1024 ) : infile = open ( filename , 'rb' ) for byte in filebytes ( infile , buffersize ) : ( yield byte )
opens a file named by filename and iterates over the l{filebytes} found therein .