> I agreed with Serhiy. I also found the function decode the output with latin-1, I think it will be better to use utf-8 instead.
Decoding from UTF-8 can fail with UnicodeDecodeError, whereas decoding from latin-1 never fails.
file output is ASCII, so I don't see the point of using UTF-8.
Currently, the command displays the filename, but I don't think that we should care of the encoding of the filename.
> I think that the "-b" option should be restored.
That, or strip/skip the filename in the output?