How do we handle an error when downloading the file?