// Create the URIResource
ClasspathResource resource = new ClasspathResource(filePath);
// Get the InputSource from the URIResource.
InputSource source = resource.provideInputSource(contextMock);
is = source.getByteStream();
isr = new InputStreamReader(is);
br = new BufferedReader(isr);