@Override
    public void doStrip(String originalFilePath, String newFilePath) {
        if (StringUtils.isEmpty(originalFilePath)) {
            throw new IllegalArgumentException("the arg: originalFilePath can not be null or empty");
        }

        if (StringUtils.isEmpty(newFilePath)) {
            throw new IllegalArgumentException("the arg: newFilePath can not be null or empty");
        }

        String cmd = String.format(cmdPattern, this.configManager.joinPathToToolDir("kindlestrip"), originalFilePath, newFilePath);
        logger.debug("the kindlestrip cmd is :" + cmd);

        try {
            Process p = processor.exec(cmd);
            p.waitFor();

            InputStream is = p.getInputStream();
            String errMsg = IOUtils.toString(p.getErrorStream());
            logger.error(errMsg);
            logger.debug(IOUtils.toString(is));
        } catch (IOException e) {
            e.printStackTrace();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }