\includeonly

\includeonly{file_list}

The \includeonly command controls which files will be read in by an \include command. It can only appear in the preamble.

See also: Splitting the Input,