When I run the provided code, I get the error "NameError: name 'os' is not defined". You should add "import os" to the top of the file.