Handling the marked for deletion for in case add file