+ FILE *fp;
+ int i;
+
+ /* get command-line args and parse the header file */
+ file_info = vtkParse_Main(argc, argv);
+
+ /* get the command-line options */
+ options = vtkParse_GetCommandLineOptions();
+
+ /* get the output file */
+ fp = fopen(options->OutputFileName, "w");
+
+ if (!fp)
+ {
+ fprintf(stderr, "Error opening output file %s\n", options->OutputFileName);
+ exit(1);
+ }