fn scan_authority_names(
    path: &Path,
    send: Sender<(String, u32)>
) -> Result<JoinHandle<Result<usize>>>