Removed use of fprintf(...)