changed readmem to correct file in LUT