pub fn overwrite_file(path: &Path, content: &str) -> Result<()>
Opens an already existing file and overwrites all content with content.
content