Add debug file output.