why file is not deleted?