Reduce system-specific paths to simple file names.