let finalize () = with_output_file !*_digests begin fun oc -> Hashtbl.iter begin fun name digest -> Printf.fprintf oc "%S: %S\n" name digest end digests end