Remove unused import. The test using finally was creating lingering test files.
Use the actual filename.