class FileContent implements Comparable<FileContent> {

  public InputStream open() throws IOException {
    try {
      return contentSupplier.get();
    } catch (final IOException ex) {
      throw ex;
    } catch (final Throwable ex) {
      throw new IOException(ex);
    }
  }

}