Small script for comparing NAF documents