Added a case when the file for download is missing