writedatafile.java