pub fn process_dir_to( path: &Path, out_file: &Path, post_process: Option<&dyn Fn(&str) -> String>) -> Result<()>