added util.__init__
reduced file io