Added the ability to determine the extension of unknown files reading the magic numbers.