subroutine tearDown() integer :: unit open(newunit=unit, file='fake_data.nc4', status='old') close(unit, status='delete') end subroutine tearDown