refactor license detection
add more specs
remove redundant code
show line numbers for blobs