tweaked back to handle .eeprom file