pub fn ensure_file_content(filename: PathBuf, content: String)