<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _compute_path(self, name):
 """ Compute the file path in the filesystem from the given name. :param name: the filename for which the to compute the path :raises FileNotWithinStorage: if the computed path is not within :attr:`base_directory`. """

        path = self._normalize_path(os.path.join(self.base_directory, name))
        if not path.startswith(self.base_directory):
            raise FileNotWithinStorageError(name)
        return path