Fixed filter and trace output to show proper file paths