moved format printing stuff to file_load.c