adapt outcome to XYZ file format