Update readfile2 with namedtuple conversion