pub fn write_file( path: impl Into<String>, previous: Option<&str>, content: String, ) -> WriteFileOutcome