class SubdirsRegressionIO extends RegressionIO {

  @Override
  public Object read(final String type, final String identifier) throws IOException {
    try (InputStream in = new BufferedInputStream(new FileInputStream(new File(getTypeFolder(type, false), createFilename(identifier))))) {
      return getFormat().read(getFormatContext(), in);
    }
  }

  public  SubdirsRegressionIO(final File baseDir, final Format format, final boolean createIfAbsent);

}