def _parse_file_contents(self, selector_file_contents):
        try:
            selector_input_json = json.loads(selector_file_contents)
        except __HOLE__:
            raise SelectorParseError('MalformedJSON')

        self._validate_selector_input(selector_input_json)

        selectors = self._parse_input_for_selectors(selector_input_json)

        return selectors
dataset/ETHPy150Open m-lab/telescope/telescope/selector.py/SelectorFileParser._parse_file_contents