dump writes to one file
fixed filtering