def METHOD_NAME(self):
    """Renku operation for the controller."""
    local_paths, enqueued_paths = self.prepare_paths()
    if not local_paths and not enqueued_paths:
        raise RenkuException("no files processed")
    if local_paths:
        add_to_dataset_command().with_commit_message(self.ctx["commit_message"]).build().execute(
            dataset_name=self.ctx["name"],
            urls=local_paths,
            create=self.ctx["create_dataset"],
            force=self.ctx["force"],
            copy=True,
        )
    return local_paths, enqueued_paths