pub fn write_file<P: AsRef<Path> + Clone>( path: P, content: &str, ) -> Result<(), Box<dyn Error>>
write file, for generating classes files