def extract
      begin_connection

      entries.map do |entry|
        local_file = File.join(@local_path, entry.name)
        logger.info "Downloading #{entry.name} to #{local_file}"
        sftp_retry { sftp_session.download!(File.join(@remote_path, entry.name), local_file) }
        local_file
      end
    ensure
      end_connection
    end
def extract
      begin_connection

      entries.map do |entry|
        local_file = File.join(@local_path, entry.name)
        logger.info "Downloading #{entry.name} to #{local_file}"
        sftp_retry { sftp_session.download!(File.join(@remote_path, entry.name), local_file) }
        local_file
      end
    ensure
      end_connection
    end
Called to extract files from the source filesystem.
 @return [Array<String>] An array of paths to a local copy of the files extacted