<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def profile_path(self, path, must_exist=False):
 """Return path from current profile."""

        full_path = self.session.profile / path
        if must_exist and not full_path.exists():
            raise FileNotFoundError(
                errno.ENOENT,
                os.strerror(errno.ENOENT),
                PurePath(full_path).name,
            )
        return full_path