code: def _filepath(self, name):
          
          if self.file_ext is None:
              candidates = glob.glob(os.path.join(self.directory, name + ".*"))
              try:
                  return next(filter(_is_morphology_file, candidates))
              except StopIteration:
                  raise NeuroMError("Can not find morphology file for '%s' " % name)
          else:
              return os.path.join(self.directory, name + self.file_ext)
docs: File path to `name` morphology file.