pub fn write_lines_to_file(file_path: &str, lines: Vec<String>) -> Result<()>