read

private fun read(p: Path): Result<Map<String, String?>>

The file's entries — an empty map when it is absent — or what stopped the parse. A query, so the whole answer is the return value: what a failure costs is the caller's, and the two callers disagree.