allow json stream to read a file from the command line