Josh: > Any help is appreciated. Thanks :) A possible solution: desugar the foreach range iteration protocol of dirEntries and wrap the relevant method with a try-catch. Bye, bearophile