Output to pkl completed