using try/catch with file slurp
added section for property-value queries