read xtm recode & a test pakage