throw error on unrecognized --XYZ.xyz