fixes for file printing
print stuff