Test.java write to file

This version is just to replace some of the prints