try (
Scanner s = new Scanner(new File(dataPath))) {
s.useDelimiter("[:]");
ArrayList<String> animalArr = new ArrayList();
while (s.hasNext()) {
animalArr.add(s.next());
}
System.out.println(animalArr.get(7));