added tearDown to remove temporary file