reconstruct the format of the input file and the the reader.py was changed which is implemented in tmp.py.