### FILE

Command FILE INOUTBOTH selects the file to be opened for input/output. These commands also read the input or output file index, and copy a subset of it in memory so that subsequent index searches can proceed even more efficiently. The logic is the same as CLASS . If the argument BOTH is used, the same file is opened for input and output. Internally, CLIC deals with two write mode for files: NEW and UPDATE. The logic is that if the input file and output file are different, the output file is in NEW mode, whereas if the same file is opened for input and output, the output file is in UPDATE mode.

The files opened for input and output are displayed with SHOW FILE.