I. Introduction
Digital information is stored as files and each computer file is associated with a file type on storage medium. The detection of the file types correctly can be guide for identifying harmful and risky files in advance, and it leads to take necessary precautions without damaging the systems. Accurate detection of a file type has great importance in operating systems, firewalls, intrusion detection systems, antiviruses, forensics and many other areas [1].