add test file slurp and directory read utilities