FIX: printing filter objects to a text file