Each run starts with a fresh filesystem in the browser. Create a sample file in your script to try an example. Use a with block so that Python closes the file, including when a read or write fails. The checks create their own sample files.