Changed name of d.by.dt to d_by_dt. A backward compatible d.by.dt calls d_by_dt.
cleanup in readDFile