code: def isNewer(firstFile, secondFile):
      
      assert os.path.exists(firstFile)
      assert os.path.exists(secondFile)
      return os.path.getctime(firstFile) > os.path.getctime(secondFile)
docs: Returns True if the first file was modified more recently than the second file (used os.path.getctime)