pub fn file_stem(input: &str) -> Option<String>
Extracts the simple file stem from a file name or path-like input.