preliminary support for cleaning unwanted files (addresses #7)