A simple generator makes it is possible to read file from the end. It is useful for log file.