code: def file_objects(self):
          
          if self.topic.has_file:
              yield self.topic.file
          for reply in self.replies:
              if reply.has_file:
                  yield reply.file
docs: Returns the :class:`basc_py4chan.File` objects of all files attached to posts in the thread.