I have been using the SpawnInstance class and have found that though the __del__ method attempts to remove the temporary files created by the tempfiles Python module by calling os.unlink it does not seem to work on an AWS Ubuntu instance. This came as a surprise to me when we deployed it since I developed the code on Mac OS and no such files were behind