File Type Detector using Magic Numbers