Generalised iterators for sets
Simplified creation of file objects