license file detection