My code analyzes log files line by line. The last line typically is an empty ("") line and should be ignored completely. But how can I detect the last line in my l