def METHOD_NAME(self, filename):
    """
    _load_
    Unpickle data from file
    """
    # TODO: currently support both loading from file path or url
    # if there are more things to filter may be separate the load function
    # urllib2 needs a scheme - assume local file if none given
    if not urlparse(filename)[0]:
        filename = 'file:' + filename
        handle = urlopen(Request(filename, headers={"Accept": "*/*"}))
        self.data = pickle.METHOD_NAME(handle)
        handle.close()
    elif filename.startswith('file:'):
        handle = urlopen(Request(filename, headers={"Accept": "*/*"}))
        self.data = pickle.METHOD_NAME(handle)
        handle.close()
    else:
        # use own request class so we get authentication if needed
        from WMCore.Services.Requests import Requests
        request = Requests(filename)
        data = request.makeRequest('', incoming_headers={"Accept": "*/*"}, decoder=False)
        self.data = pickle.loads(data[0])
    return