more support for the exclusion of sample files (updated)