1use std::path::PathBuf; 2 3pub async fn read_pint_file(path: PathBuf, name: &str) -> anyhow::Result<String> { 4 let file = tokio::fs::read_to_string(path.join(name)).await?; 5 Ok(file) 6}