[GEOS-5931]: use String url instead of File(url) when not dealing with actual file