Adding in a temporary file to ensure files not hot deployed before download is complete