fgets with fscanf worked !!!
done