Dominic: pattern matching
Dominic: remove unwanted files