check removing and adding files