If you're using `File.read`, this is actually a string being returned, not an IO object.  Might be worth updating the variable name.