generalised the reading of u.data files