A magic number mime type sniffer for binary files