String type = tokens4.nextToken();
type = (type == null ? "" : type.trim());
// TODO: *end*
String name = tokens4.nextToken();
name = (name == null ? "" : name.trim());
phonebook.getContacts().add(new Contact(name, phone, location, Integer.parseInt(index)));
count++;
entry = reader.readLine().trim();
}
reader.close();
}