<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def captureRegion(self, filename, x, y, w, h):
 """ Save a region of the current display to filename """

        log.debug('captureRegion %s', filename)
        return self._capture(filename, x, y, x+w, y+h)