first throw
solution file detection ported