C++ framework module that detects file type based on libmagic signatures.