Should `file.read("/etc/yum.conf")` be here?  It doesn't appear to be doing anything with the result of the read.