@Override
        public ModelLoader<File, InputStream> build(Context context, GenericLoaderFactory factories) {
            return new StreamFileLoader(factories.buildModelLoader(Uri.class, InputStream.class));
        }
The default factory for {@link StreamFileLoader}s.
core/src/main/java/com/bumptech/glide/load/model/stream/StreamFileLoader.java