Whenever files are needed for recording, the RecordNode opens them. When they are no longer necessary (either recording has stopped, or recording of a particular channel has stopped), the RecordNode closes them.