corrected the names of the input files
maybe is the last time I will struggle with the size of the array