Public domain MIME-type detector using file extensions and file signatures