Making TailReader an inner class so we're not dependent upon any groovy classe