output file name changed to ch1.xyz