also, is fseek really necessary..since we already have FILE *fp=NULL