pub fn is_file<F>(fs: &F, path: impl AsRef<Path>) -> boolwhere F: FileSystem + ?Sized,
Does this path refer to a file?