Read last line of text file
<p>I need to know how to read the last line of a text file.  I need to find the line and then process it into a SQL database...  I've been reading around and scouring the web but am battling to find the proper way to do this.  I.e.:</p>

<ol>
<li>Find last line of file.</li>
<li>Process last line of file.</li>
</ol>

<p>I hope this makes sense.</p>
