FilesTypeDetector using Magic Numbers