def __init__(self, filename):
    data = open(filename, 'r').read()

    # Extract the plist data from the file. It starts and ends with a bunch of garbage.
    start_index = data.index(self._FILE_START_TOKEN)
    stop_index = data.index(self._FILE_END_TOKEN, start_index - len(self._FILE_START_TOKEN))
    stop_index += len(self._FILE_END_TOKEN)

    plist_data = data[start_index:stop_index]
    self._provision_dict = plistlib.readPlistFromString(plist_data)
dataset/ETHPy150Open viewfinderco/viewfinder/backend/services/provisioning_profiles.py/AppleProvisioningProfile.__init__/operator `+` -> `-`