make sure item ref is in file path