pub fn list_dir(path: &str) -> Result<Vec<String>, Box<dyn Error>>