code: def _find_date(filename):
      
      has_date = re.search(MATCH_DATE, filename)
      if has_date:
          year = has_date.group('year')
          month = has_date.group('month')
          day = has_date.group('day')
          if int(year) > 2000 and int(month) in range(1, 13) and int(day) in range(1, 32):
              return '{}-{}-{}'.format(year, month, day)
docs: Find date in recorded game default(ish) filename.