\closein <file id>
Closes an additional input file, described by its number from 0 to 15. See also \openin, \read and \newread.