Jesús Gabriel y Galán wrote:
> Here you are not closing the file.
> 
> Use a = File.readlines(@filename)
> 
> instead.
> 
> Jesus.

Thanks mate - appreciate it.  I'm cleaning it up now.
-- 
Posted via http://www.ruby-forum.com/.