def METHOD_NAME():
    ctx = FlyteContextManager.current_context()
    if (
        ctx is not None
        and hasattr(self, "_remote_directory")
        and self._remote_directory is not None
        # todo(kenny) is this necessary?
        and ctx.inspect_objects_only is False
    ):
        self.path = ctx.file_access.get_random_local_directory()
        return ctx.file_access.get_data(
            self._remote_directory,
            self.path,
            is_multipart=True,
        )