pub fn select_bin<R: BufRead, W: Write>( bin_names: &[String], reader: &mut R, writer: &mut W, ) -> Result<String>