Add to check if file url is null in bitmapProvider.