remove ref to unwanted file