# Functions
GetPatternsFromFile reads JSON file.
SetupGoRegexps compiles each regexp in pattern array and keep result in pattern.Re.
# Constants
NumFlows = 1 is enough to process packets from file.
TotalNumFlows keeps last flow for dropped packets.