@with_open_mode('r')
@with_sizes('medium')
def read_small_chunks(f):
 f.seek(0)
 while f.read(20):
  pass

@ with_open_mode ( 'r' ) @ with_sizes ( 'medium' ) def read_small_chunks ( f ) : f . seek ( 0 ) while f . read ( 20 ) : pass
read 20 units at a time .