Removing irrelevant files (Chapter 5)