checking if the file analysed is now closed and some warnings repaired