test ignore file and deletion