currentString = reader.readLine();
if (currentString == null) break;
String[] cityAttributes = currentString.split("\t");
String currentName = new String(cityAttributes[0].getBytes(), "utf-8");
String currentCountry = new String(cityAttributes[2].getBytes(), "utf-8");
City currentCity = new City(id, currentName, Integer.valueOf(cityAttributes[1]), currentCountry);
cityById.put(id, currentCity);
citiesList.add(currentCity);
id++;
}
reader.close();