removing old code from files