The `os` module is not imported int his file, so this fails. Also remove the extra spaces around the `[` and `]`