Changed the sequence to start with zero to capture the first band in each file.