Please break processLine into smaller logical methods (and reuse as much as possible, like the "reset to false for future tables" block)