Let's say I'm using these codes to write something to a file.
with open('somefile.txt', 'a') as the_file:
the_file.write('Hello\n')
In this case, must 'somefile.txt' be an existing file or a file that we just created by writing a 'hello' message?