I don't think can avoid first saving out to folder.