references.add(refPath.toString().toLowerCase().replaceAll("\\/",":"));
IPath activeFolderPath = activeFile.getParent().getFullPath().makeRelativeTo(helper.getTmlRoot().getFullPath());
// remove medium
activeFolderPath = activeFolderPath.removeFirstSegments(1);
if (activeFolderPath.segmentCount() > 0 && (refPath.segmentCount() >= activeFolderPath.segmentCount())) {
int a = refPath.segmentCount();
int b = activeFolderPath.segmentCount();
IPath tmp = refPath.removeLastSegments(a - b);
if (tmp.equals(activeFolderPath)) {
refPath = refPath.removeFirstSegments(tmp.segmentCount());