def METHOD_NAME(self, path):
    self._increment_read_counters(path)
    if self.to_raise is not None:
        raise self.to_raise
    try:
        return self.files[path]
    except KeyError:
        raise make_IOError(errno.ENOENT)