def filename(self):
   base_filename = os.path.join(self.basedir(),
                                self.device.hashedID,
                                util.received_file_relative_path(self.upload_filename, self.received_time))
   if self.compressed:
     return base_filename + '.gz'
   else:
     return base_filename
 def filename(self):
     base_filename = os.path.join(
         self.basedir(), self.device.hashedID,
         util.received_file_relative_path(self.upload_filename,
                                          self.received_time))
     if self.compressed:
         return base_filename + '.gz'
     else:
         return base_filename
 def filename(self):
   return os.path.join(self.basedir(),
                       self.device.hashedID,
                       util.received_file_relative_path(self.FILENAME, self.retrieved_time))
 def filename(self):
     return os.path.join(
         self.basedir(), self.device.hashedID,
         util.received_file_relative_path(self.FILENAME,
                                          self.retrieved_time))