code: def get_total_size(self, *files):
          
  
          # Recursive unpack an eventual list of lists
          def iterate(item):
              if isinstance(item, (list, tuple)):
                  for i in item:
                      for ii in iterate(i):
                          yield ii
              else:
                  yield item
  
          # Calculate the total size of the given objects starting with an
          # initial size of 0
          return reduce(lambda x, y: x + y,
                        map(self.get_filesize, iterate(files)), 0)
docs: Calculate the total size of the given files