added deleting file from directory if call remove event method