'Utility method for instantiating a DiskFile object supporting a given
REST API.
An implementation of the object server that wants to use a different
DiskFile class would simply over-ride this method to provide that
behavior.'

def get_diskfile(self, device, partition, account, container, obj, policy, **kwargs):

    return self._diskfile_router[policy].get_diskfile(device, partition, account, container, obj, policy, **kwargs)
