move file delete logic to tearDown