public static String getCardName(String atr) throws IOException {

        String cardModel = "Desconhecido";

        FileReader fr = new FileReader(Constants.SC_BASE_SMARTCARDLIST_TXT);

        BufferedReader in = new BufferedReader(fr);
        String str;

        while ((str = in.readLine()) != null) {
            if (!str.startsWith("#") && str.equals(atr)) {
                cardModel = in.readLine();
            }
        }

        in.close();

        return cardModel.trim();
    }