Make the file channel the same size as the number of files