The $file variable is a folder that exists when the download is complete

This still needs to be tested more to prove to our selves that the logic is correct