fix typo that removed wrong file during teardown