delete blank or enter at the end of file

I have one file in which at the end of file there is one blank line i.e. one enter after last line. have one script which reads that file but because of that blank line its getting mess up in result so while reading i want to ignore that blank line or before reading can we delete that blank line so further result will be good?Is anybody's having solution?

The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.