Chacking the download file functionality.