Output coupling mto to file