File(1) tests each argument in an attempt to classify it. There are
three sets of tests, performed in this order: filesystem tests, magic
number tests, and language tests.
This package also includes libmagic(3), a library version of the
utility.

Sorry, devel/file was a duplicate of sysutils/file.
One thing that was good about this mess was that I could take a closer
look at the code and found some bugs that I reported to the author a
while ago.