Bash sanityCheck function and script. Checks the specified file is in the current directory. Intended to guard shell scripts against execution outside their own, intended directory.