moved printfiles back over to utils.c