<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def temperature(self):
 """ Returns the current CPU temperature in degrees celsius. """

        with io.open(self.sensor_file, 'r') as f:
            return float(f.readline().strip()) / 1000