wenn fileHandle 0 ist, dann findet er die datei nicht. schau mal im manual, da sind die file i/o-funktionen prima erklärt.