Allow to filter out what packets are written to the .txt depending on their packet status

i.e only write to .txt packets with errors and not parsed: OutputFlag = 6