def METHOD_NAME(self, path):
    if self.betype == BuildEnvironment.TYPE_LOCAL:
        return open(path, "r")
    raise NotImplementedError("FIXME: artifact download not implemented "\
                              "for build environment type %s" % \
                              self.get_betype_display())