added scopeMatchToFile and logCondition functionality
'merge'