changed optiml to use delite file reader