class DodecahedronList2 {

   public DodecahedronList2 readFile(String fileNameIn) throws IOException {
      Scanner scanFile = new Scanner(new File(fileNameIn));
      String dodObjListName = "";
      String label = "";
      String color = "";
      double edge = 0;
      
      dodObjListName = scanFile.nextLine();
      while (scanFile.hasNext()) {
         label = scanFile.nextLine();
         color = scanFile.nextLine();
         edge = Double.parseDouble(scanFile.nextLine());
         
         Dodecahedron dodObj = new Dodecahedron(label, color, edge);
         dodObjList[arrSize] = dodObj;
         arrSize++;
      }
      
      DodecahedronList2 dodList = new DodecahedronList2(dodObjListName,
                                                          dodObjList, arrSize);
      return dodList;
   }

   public  DodecahedronList2(String listNameIn, Dodecahedron[] dodObjListIn,
                                                             int arrSizeIn);

}