improve PairingFile to_csv