score every line in a file