json example: parse the file given as an argument