Solution
counter = 0 #put this at the beginning of your script
counter += 1
filename = counter
counter += 1
filename = counter.encode("utf-8")
filename = hashlib.sha224(filename).hexdigest()
counter = 0 #put this at the beginning of your script
counter += 1
filename = counter
counter += 1
filename = counter.encode("utf-8")
filename = hashlib.sha224(filename).hexdigest()