Before delete some file