enhance debug mode (-d)

This is just a quick enhancement to the -d

It prints out each file name before it scans the file, that way if there is a crash you can quickly see what file caused it.