def METHOD_NAME(input_path):
    try:
        with open(input_path, 'rb') as json_file:
            try:
                properties = json.load(json_file)
            except json.decoder.JSONDecodeError as ex:
                raise CLIError(
                    'JSON decode error for {}: {}'.format(json_file, str(ex)))
            if 'lenses' not in properties:
                raise CLIError(str(json_file) +
                               " does not contain the property 'lenses'")
            properties_lenses = properties['lenses']
            if 'metadata' not in properties:
                raise CLIError(str(json_file) +
                               " does not contain the property 'metadata'")
            properties_metadata = properties['metadata']
            return properties_lenses, properties_metadata
    except FileNotFoundError as ex:
        raise CLIError('File not Found: {}'.format(str(ex)))