struggling with fgets again and fclose