downloading encrypted file