closing also the other files