support new txt file format