add read_off for COFF