Stop warning on fgets, simple version