change ref to file in ingnore list