code: def file_upload_to(self, instance, filename):
          
          ext = filename.split(".")[-1]
          filename = "{}.{}".format(uuid.uuid4(), ext)
          return os.path.join("document", filename)
docs: Callable passed to the FileField's upload_to kwarg on Document.file