minor changes file output