Edit .pairs file