Hi Everyone, Thank you for the great advice and especially on the hint of (IO#tell and IO#seek). Robert would you happen to know how I may tell if the file has been updated/modified? No user would touch the script/email server. I just need to know how to tell if new email have come in. So far all i can think of is setting the script to run at a 10 or some other second interval and starting from the last known position. -- Posted via http://www.ruby-forum.com/.