trying to mix fscanf with fgets