Report question

Question: How to detect file ends in newline?