A layer configuration, raw from disk or normalised by the profile loader.
The path relative to the layer directory (e.g. "data/sites.geojson"), or null
when the layer declares no data file at all — which is legitimate: a tile layer or a layer
with a direct url has none.
Resolves the data path a layer configuration declares, in either shape.
Accepts the normalised
dataFileas-is when present — a caller that already ran the profile loader must not see its value rebuilt underneath it — and derives it fromdata.fileotherwise.