<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_bval(self, path, **kwargs):
 """ Get bval file for passed path. """

        result = self.get_nearest(path, extensions='bval', suffix='dwi',
                                  all_=True, **kwargs)
        return listify(result)[0]