#7 - file output works