remove ref files