fn read_file_with_line_ending<P: AsRef<Path>>( shell: &Shell, path: P, ) -> Result<Vec<u8>, Box<dyn Error>>