Remove references to old files