If you mistakenly provide a file, it will generate an empty JSON, but will exit successfully. It should raise an error at argument parsing time.