pub fn view_file(file_path: &str) -> Result<String>