if os.path.isfile(name) and os.path.getsize(name) == size: