code: def get_bval(self, path, **kwargs):
          
          result = self.get_nearest(path, extensions='bval', suffix='dwi',
                                    all_=True, **kwargs)
          return listify(result)[0]
docs: Get bval file for passed path.