Returns the file contents as validated JSON text.

def read(self):
        """Returns the file contents as validated JSON text.
        """
        p = os.path.join(self.path, self.name)
        try:
            with open(p) as f:
                json_text = f.read()
        except FileNotFoundError as e:
            raise JSONFileError(e) from e
        try:
            json.loads(json_text)
        except (json.JSONDecodeError, TypeError) as e:
            raise JSONFileError(f"{e} Got {p}") from e
        return json_text