funcTest.sh now supports a parameter that can be either a file or a directory.
Fixed in bfb8e73