C'e' sicuramente un errore di battitura:

header("Content-Typ:file");

ma al di la' di questo, io ho sempre usato Content-Type: application/download