Fix file printing.