Issue with File in Specific Location Template Task

There’s an issue with this task and zip files. It seems to download the zip to temp directory, then extract and remove the zip within the directory. The issue comes with detection afterwards, it searches for “C:\Windows\Temp\ImmyBot<GUID><File>.zip”. But the zip has already been extracted and removed, so it doesn’t find anything and fails. After looking at the combined script for this task, I think the bug might lie in the FileShould-Be function.

The task does not remove it. There’s is probably something else at work there if that’s what’s happening.

Maybe the zip is getting renamed during the download phase to a guid?