TempFolder is only deleted if no file is contained