code: def files(self):
          
          if self.topic.has_file:
              yield self.topic.file.file_url
          for reply in self.replies:
              if reply.has_file:
                  yield reply.file.file_url
docs: Returns the URLs of all files attached to posts in the thread.