remove deprecated files etc.