code: def filename(value):
          '''
          Remove everything that would affect paths in the filename
  
          :param value:
          :return:
          '''
          return re.sub('[^a-zA-Z0-9.-_ ]', '', os.path.basename(InputSanitizer.trim(value))f filename(value):
          '''
          Remove everything that would affect paths in the filename
  
          :param value:
          :return:
          '''
          return re.sub('[^a-zA-Z0-9.-_ ]', '', os.path.basename(InputSanitizer.trim(value)))
docs: Remove everything that would affect paths in the filename
  
          :param value:
          :return: