docs: def check_file_age(filename, days):
      """
      Check if the target file has an older creation date than X amount of time.
      i.e. One day: 60*60*24
      :param str filename: Target filename
      :param int days: Limit in number of days
      :return bool: True - older than X time, False - not older than X time
      """
      logger_directory.info("enter check_file_age")
      # Multiply days given by time for one day.
      t = days * 60 * 60 * 24
      now = time.time()
      specified_time = now - t
      try:
          if os.path.getctime(filename) < specified_time:
              # File found and out of date
              logger_directory.info("{} not up-to-date".format(filename))
              logger_directory.info("exiting check_file_age()")
              return True
          # File found, and not out of date
          logger_directory.info("{} and up-to-date".format(filename))
          logger_directory.info("exiting check_file_age()")
          return False
      except FileNotFoundError:
          # File not found. Need to download it.
          logger_directory.info("{} not found in {}".format(filename, os.getcwd()))
          logger_directory.info("exiting check_file_age()")
          return True