# Not sure that removing the file would actually remove it from disk if the handle is still open
 # I would thus add before:
file.close()