added XYZ output to file