code: public AttributeDataset parse(String name, Attribute[] attributes, File file) throws IOException, ParseException {
          try (BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(file)))) {
             return parse(name, attributes, reader);
          }
      }
docs: Parse a dataset from given file.
  @param file the file of data source.
  @param attributes the list attributes of data in proper order.
  @throws java.io.FileNotFoundException