Don't fread, fgets!