private boolean isFileNeedToSync(String path, String md5) {
        File f = new File(ConfigManager.getInstance().pathToJar + path);

        try {
            if (!f.exists() || !md5.equals(Md5Checksum.getMD5Checksum(f.getPath()))) {
                return true;
            }
        } catch (Exception ex) {
            Logger.getLogger(MainFrame.class.getName()).log(Level.SEVERE, null, ex);
            return true;
        }

        return false;
    }