The diverted, treated material passes through the three-way valve 382 into a storage facility 384 (which may be a well, a tank or other structure) where it is maintained until it is determined that the treated material should be metered into the tank 364 for use in the denitrification process.