removed the unused filebuf_print function