pub fn delete_files_with_ext(dir: &str, extension: &str) -> Result<()>
Deletes all files in a given directory with a given extension