Add 'downloadAllFiles' helper function to Sftp