changed DPC data input method to index file method for S3