clearer and more robust Pygtail.next()
added live file rotation detection