pub fn write_file_str( file_path_str: &str, data: &str, ) -> Result<(), Box<dyn Error>>
write file with string path