pub fn encode_file<P: AsRef<Path>>( in_file: P, out_file: P) -> Result<(), Box<dyn Error>>
Encodes the contents of the file and stores the result in another file.