If you can copy both (sorted) files to a server and can use the command line, this should give you the info you want.
comm -13 broken.txt master.txt > working.txt
if you need to sort the files on the server side do this first
sort broken.txt -o broken.txt
sort master.txt -o master.txt
|