private TransMeta loadTransformation(ReportSubjectLocation location) throws KettleException { TransMeta transMeta; if (!Const.isEmpty(location.getFilename())) { transMeta = new TransMeta(location.getFilename()); } else { transMeta = repository.loadTransformation( location.getName(), location.getDirectory(), null, true, null); } return transMeta; }