before file deleting NOT! LESSON