Error

Error.

Object reference not set to an instance of an object. in AllDocuments within the DownloadFile method