Verifique se o arquivo já existe existente
import os.path
if os.path.exists('filename.txt'):
print ("File exist")
else:
print ("File not exist")
HotFlow
import os.path
if os.path.exists('filename.txt'):
print ("File exist")
else:
print ("File not exist")