A tool for BMS/BME file