WIP - debugging file output