<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _calc_size(self):
 """ Get total size of "self.datapath". """

        return sum(os.path.getsize(filename)
            for filename in self.walk()
        )