} else {
for (int i = 1; i < lines.length; i++) {
lines[i] = lines[i].replaceAll("\\s+", "");
if (lines[i].contains("device")) {
lines[i] = lines[i].replaceAll("device", "");
<BUG>String deviceID = lines[i];
deviceSerail.add(deviceID);

} else if (lines[i].contains("unauthorized")) {</BUG>
lines[i] = lines[i].replaceAll("unauthorized", "");

} else {
for (int i = 1; i < lines.length; i++) {
lines[i] = lines[i].replaceAll("\\s+", "");
if (lines[i].contains("device")) {
lines[i] = lines[i].replaceAll("device", "");
