extract a method to read errno.txt as util.rb.