pub fn path_to_context(file: &str) -> String
Extract meaningful context from a file path by filtering out common directory names.