@Override
    public ReportModel apply( File file ) {
        Reader reader = null;
        try {
            reader = Files.newReader( file, Charsets.UTF_8 );
            return new Gson().fromJson( reader, ReportModel.class );
        } catch( Exception e ) {
            throw new JsonReaderException( file, e );
        } finally {
            ResourceUtil.close( reader );
        }
    }
@throws JsonReaderException in case there was an error while reading the file.
jgiven-core/src/main/java/com/tngtech/jgiven/report/json/ScenarioJsonReader.java