Changed the format of the input file