While I should not followup my own posts, I meant that

     while file.gets
     end

would be within some method, and I could pass input_as_file to that
method.

	Hugh