code: public static SimpleDataSet loadArffFile(File file) 
      {
          try
          {
              return loadArffFile(new FileReader(file));
          }
          catch (FileNotFoundException ex)
          {
              Logger.getLogger(ARFFLoader.class.getName()).log(Level.SEVERE, null, ex);
              return null;
          }
      }
docs: Uses the given file path to load a data set from an ARFF file.
  
  @param file the path to the ARFF file to load
  @return the data set from the ARFF file, or null if the file could not be loaded.