Adjusted to 3 column input files