loc = ctx.getHeap().resolveSourceLocation(loc);
InputStream in = null;
try{
in = new BufferedInputStream(ctx.getResolverRegistry().getInputStream(loc.getURI()));
return new BinaryValueReader().read(values, store, start, in);
}catch(IOException e){
throw RuntimeExceptionFactory.io(values.string(e.getMessage()), null, null);
}catch(Exception e){
e.printStackTrace();
throw RuntimeExceptionFactory.io(values.string(e.getMessage()), null, null);