explain parameter, print name of created file
Simpler and more robust filtering approach.