Binary and ASCII classification for files