Added support for handling 7 columns in the input files.