static public BagObject resource (Class context, String name) {
        return resource (context, name, () -> null);
    }
static public BagObject resource ( Class context , String name ) { return resource ( context , name , ( ) -> null ) ; }
from a resource, with the mime type specified