Made error text in processDir and processFile clearer.