filetypeenum

Rust crate: use a enum to select from all file types.