Add support for validating cmdline params that refer to files or folders in the filesystem.