code: def rawfile_within_timeframe(rawfile, timeframe):
      
      matches = re.search(r'-(\d{8})-', rawfile)
      if matches:
          ftime = datetime.strptime(matches.group(1), "%Y%m%d")
          ftime = pytz.utc.localize(ftime)
  
      return ftime.date() >= timeframe[0].date() and ftime.date() <= timeframe[1].date()
docs: Checks whether the given raw filename timestamp falls within [start, end] timeframe.