add error handler for download contacts file