adding numeric predicate and better number detection in the file comparison
function