Based on this documentation, temporary files are automatically deleted once the final file is recreated unless you are uploading to a bucket with retention policy. Make sure that the final file is successfully uploaded before deleting the temporary files because these smaller chunks of files are needed during composition.