;
                [~,~,ext] = fileparts(this.cur_file);
                <span class="keyword">if</span> (~strcmp(ext,<span class="string">'.json'</span>))
                    fprintf(<span class="string">'Input file:\n%s\n'</span>,this.cur_file);
                    fprintf(2,<span class="string">'\nInvalid input file extension.\n'</span>);
                    this.printExit();
                    <span class="keyword">continue</span>;
                <span class="keyword">end</span>

                <span 