writing fscanf