Change the format of input file.