gib
pub fn write_contents( writer: impl Write, content: &(&str, &[u8])) -> Result<(), Box<dyn Error>>