public void handler(Object file, int read_or_write) {
            if (read_or_write != 0) {
                EEPROM_save(file);
            } else {
                EEPROM_init(thndrx2_eeprom_interface);

                if (file != null) {
                    init_eeprom_count = 0;
                    EEPROM_load(file);
                } else {
                    init_eeprom_count = 10;
                }
            }
        }