pub fn filenames_in_dir(path: &Path) -> Result<HashSet<String>>
A small helper function that returns a list of unique file names in a directory.