Many thanks - wasnt sure if my method was too brute force and there was a more elegant way to do it!
In reply to Re^2: reading a changing file by slogger in thread reading a changing file by slogger