fix file references, de-reference archaic files