<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def path(self, name):
 """ Look for files in subdirectory of MEDIA_ROOT using the tenant's domain_url value as the specifier. """

        if name is None:
            name = ''
        try:
            location = safe_join(self.location, connection.tenant.domain_url)
        except AttributeError:
            location = self.location
        try:
            path = safe_join(location, name)
        except ValueError:
            raise SuspiciousOperation(
                "Attempted access to '%s' denied." % name)
        return os.path.normpath(path)