code: def thumbnames(self):
          
          if self.topic.has_file:
              yield self.topic.file.thumbnail_fname
          for reply in self.replies:
              if reply.has_file:
                  yield reply.file.thumbnail_fname
docs: Returns the filenames of all thumbnails in the thread.