Added path check and download failed delegate