Add file output to test bench