This module is to guess file type from its contents like file(1) command. WWW: http://search.cpan.org/dist/File-MMagic/