<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _file_chunks(self, data, chunk_size):
 """ Yield compressed chunks from a data array"""

        for i in xrange(0, len(data), chunk_size):
            yield self.compressor(data[i:i+chunk_size])